Update build script for new documentation branch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2578 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-08-28 17:44:41 +00:00
parent e9f9206f5c
commit de870d769a

View File

@ -215,28 +215,33 @@ progress_message "Build of Shorewall $VERSION on $(date)"
case $VERSION in case $VERSION in
2.0.*) 2.0.*)
CVSTAG=SHOREWALL-2_0 CVSTAG=SHOREWALL-2_0
DOCTAG=HEAD
XMLPROJ=Shorewall-docs XMLPROJ=Shorewall-docs
LRP=shorwall-${VERSION}.lrp LRP=shorwall-${VERSION}.lrp
LRPPROJ=Lrp LRPPROJ=Lrp
;; ;;
2.2.*) 2.2.*)
CVSTAG=SHOREWALL-2_2 CVSTAG=SHOREWALL-2_2
DOCTAG=SHOREWALL_2_4
XMLPROJ=Shorewall-docs2 XMLPROJ=Shorewall-docs2
LRP=shorewall-lrp-${VERSION}.tgz LRP=shorewall-lrp-${VERSION}.tgz
LRPPROJ=Lrp2 LRPPROJ=Lrp2
;; ;;
2.4.*) 2.4.*)
CVSTAG=SHOREWALL-2_4 CVSTAG=SHOREWALL-2_4
DOCTAG=SHOREWALL_2_4
XMLPROJ=Shorewall-docs2 XMLPROJ=Shorewall-docs2
BUILDLRP= BUILDLRP=
;; ;;
*ex) *ex)
CVSTAG=EXPERIMENTAL CVSTAG=EXPERIMENTAL
DOCTAG=HEAD
XMLPROJ=Shorewall-docs2 XMLPROJ=Shorewall-docs2
BUILDLRP= BUILDLRP=
;; ;;
2.5.*) 2.5.*)
CVSTAG=HEAD CVSTAG=HEAD
DOCTAG=HEAD
XMLPROJ=Shorewall-docs2 XMLPROJ=Shorewall-docs2
BUILDLRP= BUILDLRP=
;; ;;
@ -329,7 +334,7 @@ if [ -n "${BUILDXML}${BUILDHTML}" ]; then
rm -rf $XMLPROJ rm -rf $XMLPROJ
rm -rf shorewall-docs-xml-$VERSION rm -rf shorewall-docs-xml-$VERSION
do_or_die "cvs -z3 export -D now $XMLPROJ >> $LOGFILE 2>&1" do_or_die "cvs -z3 export -r $DOCTAG $XMLPROJ >> $LOGFILE 2>&1"
do_or_die mv $XMLPROJ shorewall-docs-xml-$VERSION do_or_die mv $XMLPROJ shorewall-docs-xml-$VERSION
rm -f shorewall-docs-xml-$VERSION/images/*.vsd rm -f shorewall-docs-xml-$VERSION/images/*.vsd