Add CGAL_SVN_REVISION macro to version.h .

This commit is contained in:
Sylvain Pion
2006-04-28 22:41:30 +00:00
parent 84da3e8b15
commit 61e76fd96d
2 changed files with 9 additions and 1 deletions
@@ -271,7 +271,8 @@ sub create_version_file()
EOF
print TEMPFILE "#define CGAL_VERSION $newver\n";
print TEMPFILE "#define CGAL_VERSION_NR $VERSION_NR\n\n#endif\n";
print TEMPFILE "#define CGAL_VERSION_NR $VERSION_NR\n";
print TEMPFILE "#define CGAL_SVN_REVISION 0\n\n#endif\n";
close TEMPFILE || die "Error closing temporary file: $!\n";
system('mv', "tempfile", 'version.h');