[quake3-commits] r2146 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Aug 11 01:51:08 EDT 2011


Author: ztm
Date: 2011-08-11 01:51:08 -0400 (Thu, 11 Aug 2011)
New Revision: 2146

Modified:
   trunk/Makefile
Log:
Fixed copyfiles when USE_RENDERER_DLOPEN is disabled.

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2011-08-11 05:14:42 UTC (rev 2145)
+++ trunk/Makefile	2011-08-11 05:51:08 UTC (rev 2146)
@@ -2360,17 +2360,27 @@
 
 copyfiles: release
 	@if [ ! -d $(COPYDIR)/baseq3 ]; then echo "You need to set COPYDIR to where your Quake3 data is!"; fi
+ifneq ($(BUILD_GAME_SO),0)
 	-$(MKDIR) -p -m 0755 $(COPYDIR)/baseq3
+  ifneq ($(BUILD_MISSIONPACK),0)
 	-$(MKDIR) -p -m 0755 $(COPYDIR)/missionpack
+  endif
+endif
 
 ifneq ($(BUILD_CLIENT),0)
 	$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/ioquake3$(FULLBINEXT) $(COPYBINDIR)/ioquake3$(FULLBINEXT)
+  ifneq ($(USE_RENDERER_DLOPEN),0)
 	$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/renderer_opengl1_$(SHLIBNAME) $(COPYBINDIR)/renderer_opengl1_$(SHLIBNAME)
+  endif
 endif
 
 # Don't copy the SMP until it's working together with SDL.
 ifneq ($(BUILD_CLIENT_SMP),0)
+  ifneq ($(USE_RENDERER_DLOPEN),0)
 	$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/renderer_opengl1_smp_$(SHLIBNAME) $(COPYBINDIR)/renderer_opengl1_smp_$(SHLIBNAME)
+  else
+	$(INSTALL) $(STRIP_FLAG) -m 0755 $(BR)/ioquake3-smp$(FULLBINEXT) $(COPYBINDIR)/ioquake3-smp$(FULLBINEXT)
+  endif
 endif
 
 ifneq ($(BUILD_SERVER),0)



More information about the quake3-commits mailing list