summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-13 19:03:49 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-13 19:03:49 (GMT)
commit7ed70a00287d20a775654940c291edb6f04b478b (patch)
tree45249ea8a5151ace9e2f9dceab397430e990e615 /Makefile
parentffabd4408404d70b501f63ab6932e47ca1d6e8c4 (diff)
Correctly handle the version string, defined in a single place now.
Fix and update README.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2d0c47b..4149518 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,11 @@
# Don't print directory as we descend into them
MAKEFLAGS += --no-print-directory
-# The project version
-export PROJECTVERSION=0.0.2-svn
-
-# This should eventually be computed if compiling out-of-tree is implemented
export CT_TOP_DIR=$(shell pwd)
+# This is crosstool-ng version string
+export CT_VERSION=$(shell cat $(CT_TOP_DIR)/version)
+
.PHONY: all
all: build