summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-27 13:20:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:03 -0500
commitc25a9f4122e0f9d3d54aa92932bdaf6e6f1b5c74 (patch)
tree76e9e97c68a579e38121901769c96ce3c4991072
parentab0033d40a369a7fc16496cb9773f3436cb268ae (diff)
downloadsamba-c25a9f4122e0f9d3d54aa92932bdaf6e6f1b5c74.tar.gz
samba-c25a9f4122e0f9d3d54aa92932bdaf6e6f1b5c74.tar.bz2
samba-c25a9f4122e0f9d3d54aa92932bdaf6e6f1b5c74.zip
r7944: BUG 2808: don't try to install manpages if they are not present
(This used to be commit 1ce5cc2a5f3da7ef6874cae5b433c139d68589c6)
-rwxr-xr-xsource3/script/installman.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/script/installman.sh b/source3/script/installman.sh
index d30429d50a..5564ac0231 100755
--- a/source3/script/installman.sh
+++ b/source3/script/installman.sh
@@ -13,6 +13,10 @@ if [ $# -ge 4 ] ; then
GROFF=$4 # sh cmd line, including options
fi
+if test ! -d docs/manpages; then
+ echo "No manpages present. SVN development version maybe?"
+ exit 0
+fi
for lang in $langs; do
if [ "X$lang" = XC ]; then