mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Add svn version info
|
# Add git version info
|
||||||
USE_GIT=
|
USE_GIT=
|
||||||
ifeq ($(wildcard .git),.git)
|
ifeq ($(wildcard .git),.git)
|
||||||
GIT_REV=$(shell git show -s --pretty=format:%h-%ad --date=short)
|
GIT_REV=$(shell git show -s --pretty=format:%h-%ad --date=short)
|
||||||
|
@ -2662,10 +2662,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