chiark / gitweb /
dgit: Do not sometimes crash in quilt-fixup if git-debrebase missing
[dgit.git] / Makefile
index 0ea7a7c..3215fec 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,14 +45,18 @@ MAN7PAGES=dgit.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
 
@@ -131,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