diff -Naurp debhelper.orig/Makefile debhelper/Makefile --- debhelper.orig/Makefile 2008-05-04 14:57:07.000000000 -0500 +++ debhelper/Makefile 2008-05-15 16:31:34.000000000 -0500 @@ -27,8 +27,12 @@ PERLLIBDIR=$(shell perl -MConfig -e 'pri POD2MAN=pod2man -c Debhelper -r "$(VERSION)" +ifeq ($(USE_NLS),yes) # l10n to be built is determined from .po files -LANGS=$(notdir $(basename $(wildcard man/po4a/po/*.po))) +LANGS?=$(notdir $(basename $(wildcard man/po4a/po/*.po))) +else +LANGS= +endif build: version find . -maxdepth 1 -type f -perm +100 -name "dh*" \ @@ -36,6 +40,7 @@ build: version cat debhelper.pod | \ $(MAKEMANLIST) `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \ $(POD2MAN) --name="debhelper" --section=7 > debhelper.7 +ifeq ($(USE_NLS),yes) po4a man/po4a/po4a.cfg set -e; \ for lang in $(LANGS); do \ @@ -48,6 +53,7 @@ build: version $(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \ $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \ done +endif version: printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';\n1" > \