Code

Have to run through whole automake procedure as datestamp in RELEASE variable
authorTon Voon <tonvoon@users.sourceforge.net>
Sat, 8 Mar 2003 01:48:13 +0000 (01:48 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Sat, 8 Mar 2003 01:48:13 +0000 (01:48 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@381 f882894a-f735-0410-b71e-b25c423dba1c

tools/sfsnapshot

index e5a13d479cc9105340ac50d12e4549778d1a8e13..34c5795cec79d27b5266234ebe28ffb4ab9aa0c8 100755 (executable)
@@ -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