mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 08:44:05 +01: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=
|
||||
BUILDHTML=
|
||||
BUILDLRP=
|
||||
SAMPLES=
|
||||
################################################################################
|
||||
# F U N C T I O N S
|
||||
################################################################################
|
||||
@ -244,6 +245,7 @@ case $VERSION in
|
||||
DOCTAG=HEAD
|
||||
XMLPROJ=Shorewall-docs2
|
||||
BUILDLRP=
|
||||
SAMPLES=Yes
|
||||
;;
|
||||
*)
|
||||
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/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
|
||||
progress_message "Creating $DIR/$TARBALL..."
|
||||
do_or_die "tar -zcvf $TARBALL $SHOREWALLDIR >> $LOGFILE 2>&1"
|
||||
|
Loading…
Reference in New Issue
Block a user