# Uncomment and customize the following to suit your needs:
#
+SUBDIRS = manuals
+
DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf
DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf
DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf
# Collate Manual Pages and generate HTML versions
if (groff --help >/dev/null); then
make -C ${tmpdir}/doc all
- mkdir -p ${tmpdir}/doc/manuals
cp ${tmpdir}/doc/*.8 ${tmpdir}/doc/manuals/
for f in `ls -1 ${tmpdir}/helpers/*/*/*.8` ; do
cp $f ${tmpdir}/doc/manuals/
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 *"
+ sh -c "cd ${tmpdir}/doc/manuals && tar -zcf $PWD/${PACKAGE}-${VERSION}-${date}-manuals.tar.gz *.html *.8"
echo ${PACKAGE}-${VERSION}-${date}-manuals.tar.gz >>${tag}.out
fi