Add man page generaton to build file

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4915 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-11-19 01:37:32 +00:00
parent 2ab5807931
commit 7e8d3c9c0e

View File

@ -85,6 +85,7 @@ BUILDHTML=
SAMPLESTAG=
HASLITE=
SIGN=
MANPAGEDBRANCH=
################################################################################
# F U N C T I O N S
################################################################################
@ -237,6 +238,7 @@ case $VERSION in
XMLPROJ="docs-3.3"
SAMPLESTAG="trunk/Samples"
HASLITE=Yes
MANPAGEBRANCH=trunk/manpages
;;
*)
echo "Unsupported Version: $VERSION"
@ -326,6 +328,17 @@ if [ -n "${BUILDTARBALL}${BUILDRPM}" ]; then
cd $DIR
fi
if [ -n "$MANPAGETAG" ]; then
cd $SHOREWALLDIR
do_or_die "svn export --non-interactive --force https://svn.sourceforge.net/svnroot/shorewall/$MANPAGETAG manpages >> $LOGFILE 2>&1"
cd manpages
for file in *.xml; do
docbook2xml $file
done
rm *.xml
cd $DIR
fi
do_or_die "rm -rf $SHOREWALLDIR/debian"
if [ -n "$BUILDTARBALL" ]; then