mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix dist target and comment refering to svn
This commit is contained in:
parent
20ef1b0115
commit
631db38d25
1 changed files with 2 additions and 5 deletions
7
Makefile
7
Makefile
|
@ -267,7 +267,7 @@ ifneq ($(BUILD_CLIENT),0)
|
|||
endif
|
||||
endif
|
||||
|
||||
# Add svn version info
|
||||
# Add git version info
|
||||
USE_GIT=
|
||||
ifeq ($(wildcard .git),.git)
|
||||
GIT_REV=$(shell git show -s --pretty=format:%h-%ad --date=short)
|
||||
|
@ -2662,10 +2662,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
|
||||
|
|
Loading…
Reference in a new issue