From 5db396b048fedb44b3e28345e86380d7ed75ba7a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 1 Jun 2008 20:36:36 +0000 Subject: 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(-) 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) -- cgit v0.10.2-6-g49f6