[sword-svn] r2580 - trunk/scripts

greg.hellings at crosswire.org greg.hellings at crosswire.org
Thu Oct 21 07:21:34 MST 2010


Author: greg.hellings
Date: 2010-10-21 07:21:34 -0700 (Thu, 21 Oct 2010)
New Revision: 2580

Modified:
   trunk/scripts/mkswordtar
Log:
Merging changes to script/mkswordtar which handle adding the proper version number
to CMakeLists.txt


Modified: trunk/scripts/mkswordtar
===================================================================
--- trunk/scripts/mkswordtar	2010-10-21 12:05:09 UTC (rev 2579)
+++ trunk/scripts/mkswordtar	2010-10-21 14:21:34 UTC (rev 2580)
@@ -9,6 +9,7 @@
 SWORDVER=`grep "define VERSI" ../include/config.h |cut -f2 -d"\""`
 
 sed -i "s/^\(PROJECT_NUMBER\).*/\1 = \"$SWORDVER\"/" ../doc/Doxyfile
+sed -i "s/^SET(SWORD_VERSION.*/SET(SWORD_VERSION $SWORDVER)/" ../CMakeLists.txt
 
 if test `echo $REV` == `echo $SWORDVER`; then 
 	chmod +x *




More information about the sword-cvs mailing list