diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-09-29 01:50:09 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-09-29 12:48:13 +0100 |
commit | 33eb4ed739af3871f5aedd9ca944cc134f012523 (patch) | |
tree | 70f06959264b0d3908e20750bf71781ffa97aead /debian | |
parent | a986b3b8a0f43300ec82f569c848f780ec83cb56 (diff) |
i18n: Call po/Makefile directly from debian/rules
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>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/dgit.install | 1 | ||||
-rw-r--r-- | debian/git-debrebase.install | 1 | ||||
-rwxr-xr-x | debian/rules | 6 |
3 files changed, 8 insertions, 0 deletions
diff --git a/debian/dgit.install b/debian/dgit.install new file mode 100644 index 0000000..6607000 --- /dev/null +++ b/debian/dgit.install @@ -0,0 +1 @@ +usr/share/locale/*/LC_MESSAGES/dgit.mo diff --git a/debian/git-debrebase.install b/debian/git-debrebase.install new file mode 100644 index 0000000..173a235 --- /dev/null +++ b/debian/git-debrebase.install @@ -0,0 +1 @@ +usr/share/locale/*/LC_MESSAGES/git-debrebase.mo diff --git a/debian/rules b/debian/rules index baff8f8..614fb7a 100755 --- a/debian/rules +++ b/debian/rules @@ -30,10 +30,16 @@ override_dh_gencontrol: 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 |