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(-)
This commit is contained in:
Yann E. MORIN" 2008-06-01 20:36:36 +00:00
parent 36f41a9d27
commit 5db396b048
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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)