path: root/debian/rules
diff options
authorIan Jackson <>2018-06-17 15:18:55 +0100
committerIan Jackson <>2018-06-17 22:42:48 +0100
commit93c90551df21fc7df60ade835e29bdbe91f65744 (patch)
tree1e496437fa19fdeeef09a4b575c4c8979e5e98ac /debian/rules
parent0979965eaf16aa08447be9ee4ddce293d0354154 (diff)
git-debrebase: Split into its own package
* Provide and use Debian::Dgit::GDR which does the same for @INC as Debian::Dgit:Infra, only for GDR. It's not *entirely* similar as its doc comment talks about ExitStatus too. * In Makefile, split off lots of GDR_* variables and the two targets install-gdr and installdirs-gdr We take no care that only the required manpages are built for each install target; instead, they all go in MANPAGES and `all'. * Add a control file stanza. git-debrebase takes over the dependenc on libfile-fnmatch-perl. We Recommend dgit and gbp. (Even though if you're working with neither the Debian archive nor `3.0 (quilt)', you need neither.) * In rules, add specpkg_install_gdr, to run the Makefile machinery. * In the test dependencies, GDR now means to ask for git-debrebase and also git-buildpackage (for make-patches). libfile-fnmatch-perl is handled via the dependencies of git-debrebase.deb. * Add a .gitignore for the staging area in debian/ Signed-off-by: Ian Jackson <>
Diffstat (limited to 'debian/rules')
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index e51f893..baff8f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,9 +32,12 @@ override_dh_gencontrol:
-override_dh_auto_install: specpkg_install_infra
+override_dh_auto_install: specpkg_install_gdr specpkg_install_infra
make install prefix=/usr DESTDIR=debian/dgit
+specpkg_install_gdr: p=git-debrebase
+specpkg_install_gdr: pm=GDR
specpkg_install_infra: p=dgit-infrastructure
specpkg_install_infra: pm=Infra