mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
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:
parent
2ab5807931
commit
7e8d3c9c0e
@ -85,6 +85,7 @@ BUILDHTML=
|
|||||||
SAMPLESTAG=
|
SAMPLESTAG=
|
||||||
HASLITE=
|
HASLITE=
|
||||||
SIGN=
|
SIGN=
|
||||||
|
MANPAGEDBRANCH=
|
||||||
################################################################################
|
################################################################################
|
||||||
# F U N C T I O N S
|
# F U N C T I O N S
|
||||||
################################################################################
|
################################################################################
|
||||||
@ -237,6 +238,7 @@ case $VERSION in
|
|||||||
XMLPROJ="docs-3.3"
|
XMLPROJ="docs-3.3"
|
||||||
SAMPLESTAG="trunk/Samples"
|
SAMPLESTAG="trunk/Samples"
|
||||||
HASLITE=Yes
|
HASLITE=Yes
|
||||||
|
MANPAGEBRANCH=trunk/manpages
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported Version: $VERSION"
|
echo "Unsupported Version: $VERSION"
|
||||||
@ -326,6 +328,17 @@ if [ -n "${BUILDTARBALL}${BUILDRPM}" ]; then
|
|||||||
cd $DIR
|
cd $DIR
|
||||||
fi
|
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"
|
do_or_die "rm -rf $SHOREWALLDIR/debian"
|
||||||
|
|
||||||
if [ -n "$BUILDTARBALL" ]; then
|
if [ -n "$BUILDTARBALL" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user