]> granicus.if.org Git - graphviz/commitdiff
Fix script so that version and date are wrapped in #ifndef for include file
authorerg <devnull@localhost>
Sat, 22 Jan 2005 00:17:39 +0000 (00:17 +0000)
committererg <devnull@localhost>
Sat, 22 Jan 2005 00:17:39 +0000 (00:17 +0000)
graphviz-win.sh

index 83e85805c5ff55030a442d151901474ecd2e3e19..1189f1749e71b88b1a666750baf45e1d64d9a296 100755 (executable)
@@ -57,10 +57,10 @@ cp -rp windows/* .
 rm -rf windows
 
 # Provide a VERSION and BUILDDATE
-( head -16 config.h
+( head -23 config.h
   echo "#define VERSION \"$VERSION\""
   echo "#define BUILDDATE \"$BUILDDATE\""
-  tail +17 config.h ) > t
+  tail +24 config.h ) > t
 mv t config.h
 
 # package the result