summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-01 20:36:36 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-01 20:36:36 (GMT)
commit5db396b048fedb44b3e28345e86380d7ed75ba7a (patch)
tree7a0e5af7b6b04b0cdb1dbcb725654e2d7a67930e
parent36f41a9d27bb374f61306a4fc3eebe3b98012219 (diff)
The version strings being computed at ./configure time, store it as is, and don't install a .version file.
/trunk/Makefile.in | 2 0 2 0 -- /trunk/ct-ng.in | 2 1 1 0 +- 2 files changed, 1 insertion(+), 3 deletions(-)
-rw-r--r--Makefile.in2
-rw-r--r--ct-ng.in2
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 8096242..6e0a097 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -103,8 +103,6 @@ install-lib-main: install-local-test $(LIBDIR)
@rm -f $(LIBDIR)/tools/addToolVersion.sh
@echo " INST steps.mk"
@install -m 644 steps.mk $(LIBDIR)/steps.mk
- @echo " INST .version"
- @echo "$(VERSION)" >$(LIBDIR)/.version
# Samples need a little love:
# - change every occurrence of CT_TOP_DIR to CT_LIB_DIR
diff --git a/ct-ng.in b/ct-ng.in
index d1a4bee..ce6e6cf 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -22,7 +22,7 @@ export CT_LIB_DIR:=@@CT_LIBDIR@@
export CT_DOC_DIR:=@@CT_DOCDIR@@
# This is crosstool-NG version string
-export CT_VERSION:=$(shell cat $(CT_LIB_DIR)/.version)
+export CT_VERSION:=@@CT_VERSION@@
export CT_STOP:=$(STOP)
export CT_RESTART:=$(RESTART)