aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-03-08 01:48:13 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-03-08 01:48:13 +0000
commit1f96af37e3c4396e10d39239928c689ea5d0a9a1 (patch)
tree5f5b74f6564784552ce41cf214e87bab75790f20
parent27e9e50c458d3731af5fd13577eebe434a860b61 (diff)
downloadmonitoring-plugins-1f96af37e3c4396e10d39239928c689ea5d0a9a1.tar.gz
Have to run through whole automake procedure as datestamp in RELEASE variable
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@381 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-xtools/sfsnapshot17
1 files changed, 10 insertions, 7 deletions
diff --git a/tools/sfsnapshot b/tools/sfsnapshot
index e5a13d47..34c5795c 100755
--- a/tools/sfsnapshot
+++ b/tools/sfsnapshot
@@ -33,16 +33,19 @@ function make_dist {
else
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug
cd $PROJECT
- aclocal -I lib
- autoheader
- autoconf
- automake --add-missing --copy
- autoreconf
- ./configure
fi
+ sed 's/^VER=.*/VER=$v$DS/;s/^REL=.*/REL=snapshot/' configure.in > configure.tmp
+ mv configure.tmp configure.in
+ aclocal -I lib
+ autoheader
+ autoconf
+ automake --add-missing --copy
+ autoreconf
+ ./configure
+
# Make the Nagiosplug dist tarball
- VER=$v$DS VERSION=$v$DS REL=snapshot make -e dist
+ make dist
# End ssh
EOF