summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-02 12:46:13 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-07-02 12:46:13 -0400
commitbd7f90973afbfe1ede05b74e2e39fc234d1a1a52 (patch)
tree9effa2dfd4f266c891e2186464033d5a4b8f8262 /Makefile
parentc61fa90d6566fda54f6bf7b092e397ddf000809f (diff)
avoid installing empty translated debhelper.7 man pages
When empty due to not being fully enough translated, as is the case now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cde1139..6fe4d33 100644
--- a/Makefile
+++ b/Makefile
@@ -44,9 +44,11 @@ build: version
prog=`basename $$file | sed 's/.pod//'`; \
$(POD2MAN) $$file $$prog.$$lang.1; \
done; \
- cat $$dir/debhelper.pod | \
- $(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \
- $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \
+ 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: