Explorar el Código

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
Ton Voon hace 23 años
padre
commit
1f96af37e3
Se han modificado 1 ficheros con 10 adiciones y 7 borrados
  1. 10 7
      tools/sfsnapshot

+ 10 - 7
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