From f2a68b0b24b215224e8d25ba9c4e3ea5fb1da11b Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 14 Aug 2023 17:54:14 -0500 Subject: [PATCH] Update Makefile for move to git --- engine/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/engine/Makefile b/engine/Makefile index 6e240187..c56a49b5 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -3002,11 +3002,11 @@ $(B)/ded/win_resource.o: $(SYSDIR)/win_resource.rc $(SYSDIR)/win_manifest.xml $(B)/ded/%.o: $(NDIR)/%.c $(DO_DED_CC) -# Extra dependencies to ensure the SVN version is incorporated -ifeq ($(USE_SVN),1) - $(B)/client/cl_console.o : ../.svn/entries - $(B)/client/common.o : ../.svn/entries - $(B)/ded/common.o : ../.svn/entries +# Extra dependencies to ensure the git version is incorporated +ifeq ($(USE_GIT),1) + $(B)/client/cl_console.o : .git + $(B)/client/common.o : .git + $(B)/ded/common.o : .git endif @@ -3203,10 +3203,7 @@ else endif dist: - rm -rf $(CLIENTBIN)-$(VERSION) - svn export . $(CLIENTBIN)-$(VERSION) - tar --owner=root --group=root --force-local -cjf $(CLIENTBIN)-$(VERSION).tar.bz2 $(CLIENTBIN)-$(VERSION) - rm -rf $(CLIENTBIN)-$(VERSION) + git archive --format zip --output $(CLIENTBIN)-$(VERSION).zip HEAD ############################################################################# # DEPENDENCIES