r7944: BUG 2808: don't try to install manpages if they are not present
authorGerald Carter <jerry@samba.org>
Mon, 27 Jun 2005 13:20:12 +0000 (13:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:58:03 +0000 (10:58 -0500)
(This used to be commit 1ce5cc2a5f3da7ef6874cae5b433c139d68589c6)

source3/script/installman.sh

index d30429d50a0800bc9893fa571a35e1108ba51a2e..5564ac02318e276d4d52ae0450c4f18537673028 100755 (executable)
@@ -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