From: Rudolf Polzer Date: Thu, 2 Jan 2020 00:53:11 +0000 (-0500) Subject: Use cp instead of ln to create the csprogs pk3. X-Git-Tag: xonotic-v0.8.5~1105^2~54 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=330fa3f29c4ad3f05da7b1e16a355a2c88a4a26c Use cp instead of ln to create the csprogs pk3. Makes building work even when hard links are not supported. --- diff --git a/qcsrc/Makefile b/qcsrc/Makefile index d09b2c5cc..7c8e3b8ad 100644 --- a/qcsrc/Makefile +++ b/qcsrc/Makefile @@ -93,8 +93,8 @@ pk3: csprogs-$(VER).pk3 $(eval DAT=$(PROG)-$(VER).dat) $(eval LNO=$(PROG)-$(VER).lno) @ echo "http://xonotic.org" > $(TXT) - @ ln -f $(PROGS_OUT)/$(PROG).dat $(DAT) - @ ln -f $(PROGS_OUT)/$(PROG).lno $(LNO) + @ cp -f $(PROGS_OUT)/$(PROG).dat $(DAT) + @ cp -f $(PROGS_OUT)/$(PROG).lno $(LNO) @ $(RM) *.pk3 $(ZIP) $(PK3) $(TXT) $(DAT) $(LNO) @ $(RM) $(TXT) $(DAT) $(LNO)