@@ -0,0 +1,41 @@
+diff -up debhelper/Makefile.orig debhelper/Makefile
+--- debhelper/Makefile.orig 2009-11-19 17:46:10.000000000 +0100
++++ debhelper/Makefile 2009-11-25 12:18:37.000000000 +0100
+@@ -34,26 +34,9 @@ PERLLIBDIR=$(shell perl -MConfig -e 'pri
+
+ POD2MAN=pod2man --utf8 -c Debhelper -r "$(VERSION)"
+
+-# l10n to be built is determined from .po files
+-LANGS=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
+-
+ build: version debhelper.7
+ find . -maxdepth 1 -type f -perm +100 -name "dh*" \
+ -exec $(POD2MAN) {} {}.1 \;
+- po4a --previous -L UTF-8 man/po4a/po4a.cfg
+- set -e; \
+- for lang in $(LANGS); do \
+- dir=man/$$lang; \
+- for file in $$dir/dh*.pod; do \
+- prog=`basename $$file | sed 's/.pod//'`; \
+- $(POD2MAN) $$file $$prog.$$lang.1; \
+- done; \
+- if [ -e $$dir/debhelper.pod ]; then \
+- cat $$dir/debhelper.pod | \
+- $(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \
+- $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \
+- fi; \
+- done
+
+ version:
+ printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';\n1" > \
+@@ -66,10 +49,6 @@ debhelper.7: debhelper.pod
+
+ clean:
+ rm -f *.1 *.7 Debian/Debhelper/Dh_Version.pm
+- po4a --previous --rm-translations --rm-backups man/po4a/po4a.cfg
+- for lang in $(LANGS); do \
+- if [ -e man/$$lang ]; then rmdir man/$$lang; fi; \
+- done;
+
+ install:
+ install -d $(DESTDIR)/usr/bin \
|