r278 - trunk/examples/duke3d

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu May 17 12:08:18 EDT 2007


Author: icculus
Date: 2007-05-17 12:08:18 -0400 (Thu, 17 May 2007)
New Revision: 278

Modified:
   trunk/examples/duke3d/make.sh
Log:
Some fixes and cleanups in duke3d example make script.


Modified: trunk/examples/duke3d/make.sh
===================================================================
--- trunk/examples/duke3d/make.sh	2007-05-17 16:07:33 UTC (rev 277)
+++ trunk/examples/duke3d/make.sh	2007-05-17 16:08:18 UTC (rev 278)
@@ -19,7 +19,7 @@
 
 # Build MojoSetup binaries from scratch.
 cd ../..
-rm -rf *.so mojosetup `svn propget svn:ignore .`
+rm -rf `svn propget svn:ignore .`
 cmake \
     -DCMAKE_BUILD_TYPE=MinSizeRel \
     -DMOJOSETUP_ARCHIVE_TAR=FALSE \
@@ -31,15 +31,18 @@
     -DMOJOSETUP_LUALIB_OS=FALSE \
     -DMOJOSETUP_LUALIB_PACKAGE=FALSE \
     -DMOJOSETUP_LUA_PARSER=FALSE \
+    -DMOJOSETUP_URL_FTP=FALSE \
     .
 make -j5
 
 # Strip the binaries and GUI plugins, put them somewhere useful.
 strip ./mojosetup
 mv ./mojosetup ./examples/duke3d/duke3d-installer
-for feh in *.so ; do
-    strip $feh
-    mv $feh examples/duke3d/image/guis
+for feh in *.so *.dll *.dylib ; do
+    if [ -f $feh ]; then
+        strip $feh
+        mv $feh examples/duke3d/image/guis
+    fi
 done
 
 # Compile the Lua scripts, put them in the base archive.




More information about the mojosetup-commits mailing list