summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile.unix
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-01 07:33:25 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-01 07:33:25 +0000
commitb1d040e4e9cfd77a49cc5942e015914206b804bb (patch)
tree6e961007f4b7fdab0f2b66a6d513a8c8a11549e7 /crawl-ref/source/makefile.unix
parent11133a3f5480ea94be1aa47fc120e71a95ac6210 (diff)
downloadcrawl-ref-b1d040e4e9cfd77a49cc5942e015914206b804bb.tar.gz
crawl-ref-b1d040e4e9cfd77a49cc5942e015914206b804bb.zip
Updated makefile version number detection.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1162 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makefile.unix')
-rw-r--r--crawl-ref/source/makefile.unix2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix
index 65896a34fd..95a50e7659 100644
--- a/crawl-ref/source/makefile.unix
+++ b/crawl-ref/source/makefile.unix
@@ -82,7 +82,7 @@ endif
GAME_DEPENDS := $(OBJECTS)
SRC_PKG_BASE := stone_soup
-SRC_VERSION := $(shell egrep 'VERSION ".*"' version.h | \
+SRC_VERSION := $(shell egrep 'VER_NUM *".*"' version.h | \
egrep -o '[0-9]\.[0-9](\.[0-9])?')
PKG_SRC_DIR := $(SRC_PKG_BASE)-$(SRC_VERSION)-src
SRC_PKG_TAR := $(PKG_SRC_DIR).tbz2