source3/script: fix installman.sh after the last build-manpages-nogit change
authorMichael Adam <obnox@samba.org>
Tue, 18 Sep 2012 00:30:27 +0000 (20:30 -0400)
committerStefan Metzmacher <metze@samba.org>
Tue, 18 Sep 2012 02:00:02 +0000 (04:00 +0200)
    commit cfdab79729e8507a7504b0224c60454d3bc40ffc
    Author: Michael Adam <obnox@samba.org>
    Date:   Wed Sep 12 15:46:35 2012 +0200

        release-scripts: let build-manpages-nogit store generated docs under ./bin/docs

        not under ./docs

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/script/installman.sh

index 2f799968073b4c68df3f36916932e097966c8ab1..b029089ab2d0fc35e3f26bc81af8908e632ad2f2 100755 (executable)
@@ -13,7 +13,7 @@ if [ $# -ge 4 ] ; then
   GROFF=$4                    # sh cmd line, including options 
 fi
 
-if test ! -d $SRCDIR../docs/manpages; then
+if test ! -d $SRCDIR../bin/docs/manpages; then
        echo "No manpages present.  Development version maybe?"
        exit 0
 fi
@@ -44,7 +44,7 @@ for lang in $langs; do
 
     for sect in 1 5 7 8 ; do
        for m in $langdir/man$sect ; do
-           for s in $SRCDIR../docs/manpages/$lang/*$sect; do
+           for s in $SRCDIR../bin/docs/manpages/$lang/*$sect; do
            MP_BASENAME=`basename $s`
 
            # Check if this man page if required by the configured feature set