chiark / gitweb /
dgit: Do not sometimes crash in quilt-fixup if git-debrebase missing
[dgit.git] / Makefile
index de28f4d..3215fec 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,17 +41,22 @@ MAN7PAGES=dgit.7                            \
        dgit-maint-native.7                     \
        dgit-maint-merge.7 dgit-maint-gbp.7     \
        dgit-maint-debrebase.7                  \
+       dgit-downstream-dsc.7                   \
        dgit-sponsorship.7
 
 TXTDOCS=README.dsc-import
-PERLMODULES=Debian/Dgit.pm Debian/Dgit/ExitStatus.pm
+PERLMODULES= \
+       Debian/Dgit.pm \
+       Debian/Dgit/ExitStatus.pm \
+       Debian/Dgit/I18n.pm
 ABSURDITIES=git
 
 GDR_PROGRAMS=git-debrebase
 GDR_PERLMODULES= \
        Debian/Dgit.pm \
        Debian/Dgit/GDR.pm \
-       Debian/Dgit/ExitStatus.pm
+       Debian/Dgit/ExitStatus.pm \
+       Debian/Dgit/I18n.pm
 GDR_MAN1PAGES=git-debrebase.1
 GDR_MAN5PAGES=git-debrebase.5
 
@@ -119,6 +124,9 @@ installdirs-infra:
        $(INSTALL_DIR) $(DESTDIR)$(bindir) $(DESTDIR)$(infraexamplesdir) \
                $(addprefix $(DESTDIR)$(perldir)/, $(dir $(INFRA_PERLMODULES)))
 
+list-manpages:
+       @echo $(MANPAGES)
+
 check installcheck:
 
 clean distclean mostlyclean maintainer-clean:
@@ -127,9 +135,9 @@ clean distclean mostlyclean maintainer-clean:
                test -e $$m.pod && rm -f $$m; \
        done
 
-%.7: %.7.pod
-       pod2man --section=7 --date="Debian Project" --center="dgit" \
-               --name=$(subst .7,,$@) \
+dgit%: dgit%.pod
+       m=$@; pod2man --section=$${m##*.} --date="Debian Project" \
+               --center="dgit" --name=$${m%.*} \
                $^ $@
 
 git-debrebase.%: git-debrebase.%.pod