mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2025-02-19 18:50:42 +00:00
Update Makefile for move to git
This commit is contained in:
parent
a9c7189b39
commit
f2a68b0b24
1 changed files with 6 additions and 9 deletions
|
@ -3002,11 +3002,11 @@ $(B)/ded/win_resource.o: $(SYSDIR)/win_resource.rc $(SYSDIR)/win_manifest.xml
|
||||||
$(B)/ded/%.o: $(NDIR)/%.c
|
$(B)/ded/%.o: $(NDIR)/%.c
|
||||||
$(DO_DED_CC)
|
$(DO_DED_CC)
|
||||||
|
|
||||||
# Extra dependencies to ensure the SVN version is incorporated
|
# Extra dependencies to ensure the git version is incorporated
|
||||||
ifeq ($(USE_SVN),1)
|
ifeq ($(USE_GIT),1)
|
||||||
$(B)/client/cl_console.o : ../.svn/entries
|
$(B)/client/cl_console.o : .git
|
||||||
$(B)/client/common.o : ../.svn/entries
|
$(B)/client/common.o : .git
|
||||||
$(B)/ded/common.o : ../.svn/entries
|
$(B)/ded/common.o : .git
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -3203,10 +3203,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
rm -rf $(CLIENTBIN)-$(VERSION)
|
git archive --format zip --output $(CLIENTBIN)-$(VERSION).zip HEAD
|
||||||
svn export . $(CLIENTBIN)-$(VERSION)
|
|
||||||
tar --owner=root --group=root --force-local -cjf $(CLIENTBIN)-$(VERSION).tar.bz2 $(CLIENTBIN)-$(VERSION)
|
|
||||||
rm -rf $(CLIENTBIN)-$(VERSION)
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# DEPENDENCIES
|
# DEPENDENCIES
|
||||||
|
|
Loading…
Reference in a new issue