summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-01-15 23:14:37 +0000
committerTim Angus <tim@ngus.net>2006-01-15 23:14:37 +0000
commit5cf09669133da12cf82ee3168e57a781e47b9e92 (patch)
tree71b523e4ff806d61fdca30317a43427ffe8d4262
parent149d72d3e18d379b7640e0cc4e7e81377622a232 (diff)
* Fix "make dist"
-rw-r--r--Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 32c97b9f..b87285ee 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,7 @@ MASTERDIR=$(MOUNT_DIR)/master
# extract version info
VERSION=$(shell grep Q3_VERSION $(CMDIR)/q_shared.h | \
- sed -e 's/.*Q3\ \(.*\)"/\1/')
+ sed -e 's/.*tremulous\ \(.*\)"/\1/')
ifeq ($(wildcard .svn),.svn)
SVN_VERSION=$(VERSION)_SVN$(shell LANG=C svnversion .)
@@ -1476,13 +1476,10 @@ distclean: clean
$(MAKE) -C $(TOOLSDIR)/lcc clean uninstall
dist:
- rm -rf quake3-$(SVN_VERSION)
- svn export . quake3-$(SVN_VERSION)
- which convert >/dev/null 2>&1 && convert web/images/thenameofthisprojectis3.jpg \
- quake3-$(SVN_VERSION)/code/unix/setup/splash.xpm || true
- rm -rf quake3-$(SVN_VERSION)/web
- tar --force-local -cjf quake3-$(SVN_VERSION).tar.bz2 quake3-$(SVN_VERSION)
- rm -rf quake3-$(SVN_VERSION)
+ rm -rf tremulous-$(SVN_VERSION)
+ svn export . tremulous-$(SVN_VERSION)
+ tar --force-local -cjf tremulous-$(SVN_VERSION).tar.bz2 tremulous-$(SVN_VERSION)
+ rm -rf tremulous-$(SVN_VERSION)
#############################################################################
# DEPENDENCIES