@@ -0,0 +1,44 @@
+diff -up debhelper/Makefile.orig debhelper/Makefile
+--- debhelper/Makefile.orig 2009-07-02 18:46:55.000000000 +0200
++++ debhelper/Makefile 2009-07-03 10:45:42.000000000 +0200
+@@ -27,29 +27,12 @@ PERLLIBDIR=$(shell perl -MConfig -e 'pri
+
+ POD2MAN=pod2man -c Debhelper -r "$(VERSION)"
+
+-# l10n to be built is determined from .po files
+-LANGS=$(notdir $(basename $(wildcard man/po4a/po/*.po)))
+-
+ build: version
+ find . -maxdepth 1 -type f -perm +100 -name "dh*" \
+ -exec $(POD2MAN) {} {}.1 \;
+ cat debhelper.pod | \
+ $(MAKEMANLIST) `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \
+ $(POD2MAN) --name="debhelper" --section=7 > debhelper.7
+- po4a -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" > \
+@@ -57,10 +40,6 @@ version:
+
+ clean:
+ rm -f *.1 *.7 Debian/Debhelper/Dh_Version.pm
+- po4a --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 \
|