This makefile likes to dirty things quite a bit, since that's how
gettext seems to like to work. In our call from debian/rules, we
avoid that.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
*~
tests/tmp
+debian/tmp
debian/dgit
debian/git-debrebase
debian/dgit-infrastructure
debian/*.substvars
debian/*.log
debian/debhelper-build-stamp
+debian/.debhelper
dgit-user.7
dgit-nmu-simple.7
dgit-maint-native.7
--- /dev/null
+usr/share/locale/*/LC_MESSAGES/dgit.mo
--- /dev/null
+usr/share/locale/*/LC_MESSAGES/git-debrebase.mo
v=$$(perl -ne 'print if s/^version:\s+//i' DEBIAN/control); \
perl -i -pe "s/UNRELEASED/$$v/g if m/###substituted###/" usr/bin/dgit
+override_dh_auto_clean:
+ dh_auto_clean
+ make -C po clean
+
globalperl=/usr/share/perl5
override_dh_auto_install: specpkg_install_gdr specpkg_install_infra
make install prefix=/usr DESTDIR=debian/dgit
+ make -C po install prefix=/usr DESTDIR=../debian/tmp \
+ SUPPRESS_PO_UPDATE=1 S=''
specpkg_install_gdr: p=git-debrebase
specpkg_install_gdr: pm=GDR