From: Amos Jeffries Date: Thu, 16 Jul 2009 09:49:07 +0000 (+1200) Subject: Attempt to bundle manuals the easy way X-Git-Tag: SQUID_3_2_0_1~879 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cef4eec9f4943faccfda0334352104b98a7c1e3;p=thirdparty%2Fsquid.git Attempt to bundle manuals the easy way --- diff --git a/mksnapshot.sh b/mksnapshot.sh index 1ce4a5185c..950a076754 100755 --- a/mksnapshot.sh +++ b/mksnapshot.sh @@ -101,16 +101,13 @@ fi # Collate Manual Pages and generate HTML versions if (groff --help >/dev/null); then make -C ${tmpdir}/doc all - cp ${tmpdir}/doc/*.8 ${tmpdir}/doc/manuals/ - cp ${tmpdir}/tools/*.8 ${tmpdir}/doc/manuals/ - cp ${tmpdir}/tools/*.1 ${tmpdir}/doc/manuals/ - for f in `ls -1 ${tmpdir}/helpers/*/*/*.8` ; do + for f in `ls -1 ${tmpdir}/helpers/*/*/*.8 ${tmpdir}/{doc,tools}/*.{1,8}` ; do cp $f ${tmpdir}/doc/manuals/ done for f in `ls -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 *.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