]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Update paths in manuals generation
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 4 Jun 2009 12:11:00 +0000 (00:11 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 4 Jun 2009 12:11:00 +0000 (00:11 +1200)
mksnapshot.sh

index 84009b98472f43f96db5460011cbad4d2ccecfa6..09e74f422e65aff853e74ace10393437271444d6 100755 (executable)
@@ -99,11 +99,11 @@ if [ -x $tmpdir/scripts/www/build-cfg-help.pl ]; then
 fi
 
 # Collate Manual Pages and generate HTML versions
-if (groff --help); then
-       make -C $tmpdir/doc all
+if (groff --help >/dev/null); then
+       make -C ${tmpdir}/doc all
        mkdir -p ${tmpdir}/doc/manuals
-       cp doc/*.8 ${tmpdir}/doc/manuals/
-        for f in `ls -1 helpers/*/*/*.8` ; do
+       cp ${tmpdir}/doc/*.8 ${tmpdir}/doc/manuals/
+        for f in `ls -1 ${tmpdir}/helpers/*/*/*.8` ; do
                cp $f ${tmpdir}/doc/manuals/
        done
         for f in `ls -1 ${tmpdir}/doc/manuals/*.8` ; do