]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Alter easy packaging of manuals. Shell expansion does not work
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 18 Jul 2009 01:49:42 +0000 (19:49 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 18 Jul 2009 01:49:42 +0000 (19:49 -0600)
mksnapshot.sh

index 8d3e47eb2d4a196f7a40a03834865f0a25dda6b5..7ddab15a0d6b3b8e65667cc9de5bd90a6b98597a 100755 (executable)
@@ -101,13 +101,13 @@ fi
 # Collate Manual Pages and generate HTML versions
 if (groff --help >/dev/null); then
        make -C ${tmpdir}/doc all
-        for f in `ls -1 ${tmpdir}/helpers/*/*/*.8 ${tmpdir}/{doc,tools}/*.{1,8}` ; do
+        for f in `ls -1 ${tmpdir}/helpers/*/*/*.8 ${tmpdir}/doc/*.8 ${tmpdir}/tools/*.1 ${tmpdir}/tools/*.8` ; do
                cp $f ${tmpdir}/doc/manuals/
        done
-        for f in `ls -1 ${tmpdir}/doc/manuals/*.8` ; do
+        for f in `ls -1 ${tmpdir}/doc/manuals/*.1  ${tmpdir}/doc/manuals/*.8` ; do
                cat ${f} | groff -E -Thtml -mandoc >${f}.html
        done
-       sh -c "cd ${tmpdir}/doc/manuals && tar -zcf $PWD/${PACKAGE}-${VERSION}-${date}-manuals.tar.gz *.{html,1,8}"
+       sh -c "cd ${tmpdir}/doc/manuals && tar -zcf $PWD/${PACKAGE}-${VERSION}-${date}-manuals.tar.gz *.html *.1 *.8"
        echo ${PACKAGE}-${VERSION}-${date}-manuals.tar.gz >>${tag}.out
 fi