From: bones_was_here Date: Sat, 6 Jun 2020 09:24:04 +0000 (+1000) Subject: qcsrc/Makefile: remove .lno csprogs-*.pk3 and qccversion.* files when doing make... X-Git-Tag: xonotic-v0.8.5~916^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=87f66feabbd95053b7f743fdff19507addf8b911;p=xonotic%2Fxonotic-data.pk3dir.git qcsrc/Makefile: remove .lno csprogs-*.pk3 and qccversion.* files when doing make clean --- diff --git a/qcsrc/Makefile b/qcsrc/Makefile index 31daed334..1edb96fa2 100644 --- a/qcsrc/Makefile +++ b/qcsrc/Makefile @@ -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)