--------------------- PatchSet 11427 Date: 2007/05/13 21:12:56 Author: hno Branch: HEAD Tag: (none) Log: Dump out the config manual while making snapshots Members: mksnapshot.sh:1.11->1.12 Index: squid/mksnapshot.sh =================================================================== RCS file: /cvsroot/squid/squid/mksnapshot.sh,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- squid/mksnapshot.sh 3 May 2007 14:26:59 -0000 1.11 +++ squid/mksnapshot.sh 13 May 2007 21:12:56 -0000 1.12 @@ -74,3 +74,11 @@ fi cp -p $tmpdir/ChangeLog ${PACKAGE}-${VERSION}-${date}-ChangeLog.txt echo ${PACKAGE}-${VERSION}-${date}-ChangeLog.txt >>${tag}.out + +if [ -x $tmpdir/scripts/www/build-cfg-help.pl ]; then + make -C $tmpdir/src cf.data + mkdir -p $tmpdir/doc/cfgman + $tmpdir/scripts/www/build-cfg-help.pl -o $tmpdir/doc/cfgman $tmpdir/src/cf.data + sh -c "cd $tmpdir/doc/cfgman && tar -zcf $PWD/${PACKAGE}-${VERSION}-${date}-cfgman.tar.gz *" + echo ${PACKAGE}-${VERSION}-${date}-cfgman.tar.gz >>${tag}.out +fi