[quake3-commits] r441 - trunk/code/unix

Jamie Wilkinson jaq at spacepants.org
Mon Dec 12 01:09:18 EST 2005


This one time, at band camp, DONOTREPLY at icculus.org wrote:
>Author: floam
>Date: 2005-12-12 00:41:10 -0500 (Mon, 12 Dec 2005)
>New Revision: 441
>
>Modified:
>   trunk/code/unix/Makefile
>Log:
>Try different way
>
>
>Modified: trunk/code/unix/Makefile
>===================================================================
>--- trunk/code/unix/Makefile	2005-12-12 03:49:19 UTC (rev 440)
>+++ trunk/code/unix/Makefile	2005-12-12 05:41:10 UTC (rev 441)
>@@ -1767,7 +1767,8 @@
> copyfiles: build_release
> 	@if [ ! -d $(COPYDIR)/baseq3 ]; then echo "You need to set COPYDIR to where you installed Quake III!"; false; fi
> 	$(INSTALL) -s -m 0755 $(BR)/$(PLATFORM)quake3$(BINEXT) $(COPYDIR)/quake3
>-	ifneq ($(PLATFORM),mingw32)
>+	@if [ -f $(BR)/$(PLATFORM)q3ded$(BINEXT) ]
>+	then
> 		$(INSTALL) -s -m 0755 $(BR)/$(PLATFORM)q3ded$(BINEXT) $(COPYDIR)/q3ded$(BINEXT)
> 	fi
> 	-$(MKDIR) -p -m 0755 $(COPYDIR)/baseq3

You want:

        if ...  \
                $(INSTALL) .. ; \
        fi

to tell make that it's all one shell command.
>



More information about the quake3 mailing list