]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
qcsrc/Makefile: remove .lno csprogs-*.pk3 and qccversion.* files when doing make...
authorbones_was_here <bones_was_here@yahoo.com.au>
Sat, 6 Jun 2020 09:24:04 +0000 (19:24 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Sat, 6 Jun 2020 09:24:04 +0000 (19:24 +1000)
qcsrc/Makefile

index 31daed334cc7e51a566c699fed519d44c34a9897..1edb96fa22932b1f65328fe215b71d768223f89d 100644 (file)
@@ -72,9 +72,14 @@ clean: | $(WORKDIR)
        $(RM) $(PROGS_OUT)/csprogs.dat
        $(RM) $(PROGS_OUT)/menu.dat
        $(RM) $(PROGS_OUT)/progs.dat
+       $(RM) $(PROGS_OUT)/csprogs.lno
+       $(RM) $(PROGS_OUT)/menu.lno
+       $(RM) $(PROGS_OUT)/progs.lno
        $(RM) $(WORKDIR)/*.d
        $(RM) $(WORKDIR)/*.qc
        $(RM) $(WORKDIR)/*.txt
+       $(RM) $(WORKDIR)/qccversion.*
+       $(RM) csprogs-*.pk3
 
 .PHONY: qc
 qc: $(PROGS_OUT)/csprogs.dat $(PROGS_OUT)/menu.dat $(PROGS_OUT)/progs.dat
@@ -95,7 +100,7 @@ pk3: csprogs-$(VER).pk3
        @ echo "http://xonotic.org" > $(TXT)
        @ cp -f $(PROGS_OUT)/$(PROG).dat $(DAT)
        @ cp -f $(PROGS_OUT)/$(PROG).lno $(LNO)
-       @ $(RM) *.pk3
+       @ $(RM) csprogs-*.pk3
        $(ZIP) $(PK3) $(TXT) $(DAT) $(LNO)
        @ $(RM) $(TXT) $(DAT) $(LNO)