From 1f96af37e3c4396e10d39239928c689ea5d0a9a1 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Sat, 8 Mar 2003 01:48:13 +0000 Subject: [PATCH] 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 --- tools/sfsnapshot | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tools/sfsnapshot b/tools/sfsnapshot index e5a13d4..34c5795 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 -- 2.30.2