summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-02 12:46:55 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-07-02 12:46:55 -0400
commitee5536e22dbe1a629beca2296c1b29ec5c771fde (patch)
tree48d1125571d033f49736ff2350480e4033890ef4
parent9b758456f806e9813e2b7b91d7596c63b63f55ae (diff)
parentbd7f90973afbfe1ede05b74e2e39fc234d1a1a52 (diff)
Merge branch 'master' into buildsystems
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f13b3fc..62f4133 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: