diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-07-05 18:11:20 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-07-07 09:54:19 +0100 |
commit | d5e73fceebd42c985264149bf1ae36ee4ebbee6e (patch) | |
tree | d5cf4b566ce73aa4f14d3a7724be59a024e7d8d4 /debian/rules | |
parent | eca709b776801cbd57eed32dab8b59fe8bc9a569 (diff) |
git-debpush: new binary package
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 8beb109..ea2ceac 100755 --- a/debian/rules +++ b/debian/rules @@ -36,7 +36,9 @@ override_dh_auto_clean: globalperl=/usr/share/perl5 -override_dh_auto_install: specpkg_install_gdr specpkg_install_infra +override_dh_auto_install: specpkg_install_gdp \ + 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='' @@ -45,6 +47,8 @@ override_dh_auto_install: specpkg_install_gdr specpkg_install_infra override_dh_missing: dh_missing --fail-missing +specpkg_install_gdp: p=git-debpush + specpkg_install_gdr: p=git-debrebase specpkg_install_gdr: pm=GDR @@ -55,6 +59,11 @@ define specpkg_install_common make install-$(tok) prefix=/usr DESTDIR=debian/$(p) perldir=$(specperl) endef +specpkg_install_gdp: tok=gdp +specpkg_install_gdp: specperl=/usr/share/dgit/gdp/perl5 +specpkg_install_gdp: + $(specpkg_install_common) + specpkg_install_%: tok=$* specpkg_install_%: specperl=/usr/share/dgit/$(tok)/perl5 specpkg_install_%: |