From 7d1106de29156d13cdb19655e7f4e78f6bbc4c27 Mon Sep 17 00:00:00 2001
From: Ton Voon <tonvoon@users.sourceforge.net>
Date: Tue, 13 May 2003 22:23:16 +0000
Subject: Calls tools/setup and creates a README for the snapshot directory

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@507 f882894a-f735-0410-b71e-b25c423dba1c

diff --git a/tools/sfsnapshot b/tools/sfsnapshot
index 60b2cef..e3e212e 100755
--- a/tools/sfsnapshot
+++ b/tools/sfsnapshot
@@ -40,11 +40,7 @@ function make_dist {
 
 	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
+	tools/setup
 	./configure
 
 	# Make the Nagiosplug dist tarball
@@ -78,7 +74,12 @@ scp $files $OUT_SERVER:$OUT
 # Create MD5 sum
 ssh $OUT_SERVER << EOF
 cd $OUT
-md5sum *.gz > MD5SUM
+cat <<-END_README > README
+This is the daily CVS snapshot of nagiosplug, consisting of the CVS HEAD
+and any other branches
+The MD5SUM is:
+END_README
+md5sum *.gz | tee -a README > MD5SUM
 EOF
 
 rm -f $files
-- 
cgit v0.10-9-g596f

