debian/rules: don't call $(MAKE) -Ccontrib/mw-to-git without $(OPTS)
commit86cb7f30374410833f66b66012c396e8cc096f7a
authorAnders Kaseorg <andersk@MIT.EDU>
Sun, 17 Nov 2013 00:44:33 +0000 (16 19:44 -0500)
committerJonathan Nieder <jrnieder@gmail.com>
Mon, 18 Nov 2013 22:43:59 +0000 (18 14:43 -0800)
tree65e1cb485a6b9e3577bc94c1100b8eeac53c45d0
parente0632f8b716ac21b1b924c5c24b0f9bdc355f8c9
debian/rules: don't call $(MAKE) -Ccontrib/mw-to-git without $(OPTS)

Since debian/rules calls $(MAKE) -Ccontrib/mw-to-git all without $(OPTS),
the root Makefile detects that the prefix has changed from /usr to $HOME,
and winds up installing Git.pm to the wrong directory.

  /usr/bin/make -C perl prefix='/usr' DESTDIR='/build/buildd/git-1.8.5~rc2/debian/git' install
  make[2]: Entering directory `/build/buildd/git-1.8.5~rc2/perl'
  make[3]: Entering directory `/build/buildd/git-1.8.5~rc2/perl'
  Installing /build/buildd/git-1.8.5~rc2/debian/git/home/buildd/share/perl5/Git.pm
[...]
  chmod 644 '/build/buildd/git-1.8.5~rc2/debian/git'/usr/share/perl5/Git.pm
  chmod: cannot access '/build/buildd/git-1.8.5~rc2/debian/git/usr/share/perl5/Git.pm': No such file or directory
  make: *** [install-arch] Error 1

This patch fixes it.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
debian/changelog
debian/rules