mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Add step to include Samples in tarball and RPM
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2911 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7aa7de5bfa
commit
b0857aa6eb
@ -81,6 +81,7 @@ BUILDRPM=
|
|||||||
BUILDXML=
|
BUILDXML=
|
||||||
BUILDHTML=
|
BUILDHTML=
|
||||||
BUILDLRP=
|
BUILDLRP=
|
||||||
|
SAMPLES=
|
||||||
################################################################################
|
################################################################################
|
||||||
# F U N C T I O N S
|
# F U N C T I O N S
|
||||||
################################################################################
|
################################################################################
|
||||||
@ -244,6 +245,7 @@ case $VERSION in
|
|||||||
DOCTAG=HEAD
|
DOCTAG=HEAD
|
||||||
XMLPROJ=Shorewall-docs2
|
XMLPROJ=Shorewall-docs2
|
||||||
BUILDLRP=
|
BUILDLRP=
|
||||||
|
SAMPLES=Yes
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported Version: $VERSION"
|
echo "Unsupported Version: $VERSION"
|
||||||
@ -300,6 +302,10 @@ if [ -n "${BUILDTARBALL}${BUILDRPM}" ]; then
|
|||||||
fgrep VERSION=$VERSION $SHOREWALLDIR/uninstall.sh > /dev/null 2>&1 || fatal_error "uninstall.sh has wrong version"
|
fgrep VERSION=$VERSION $SHOREWALLDIR/uninstall.sh > /dev/null 2>&1 || fatal_error "uninstall.sh has wrong version"
|
||||||
fgrep VERSION=$VERSION $SHOREWALLDIR/fallback.sh > /dev/null 2>&1 || fatal_error "fallback.sh has wrong version"
|
fgrep VERSION=$VERSION $SHOREWALLDIR/fallback.sh > /dev/null 2>&1 || fatal_error "fallback.sh has wrong version"
|
||||||
|
|
||||||
|
if [ -n "$SAMPLES" ]; then
|
||||||
|
do_or_die "cvs -z3 export -r $CVSTAG -d $SHOREWALLDIR/Samples Samples >> $LOGFILE 2>&1"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$BUILDTARBALL" ]; then
|
if [ -n "$BUILDTARBALL" ]; then
|
||||||
progress_message "Creating $DIR/$TARBALL..."
|
progress_message "Creating $DIR/$TARBALL..."
|
||||||
do_or_die "tar -zcvf $TARBALL $SHOREWALLDIR >> $LOGFILE 2>&1"
|
do_or_die "tar -zcvf $TARBALL $SHOREWALLDIR >> $LOGFILE 2>&1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user