The version strings being computed at ./configure time, store it as is, and don't install a .version file.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jun 01 20:36:36 2008 +0000 (2008-06-01)
changeset 5431df70ed4510d
parent 542 4cdd0e37b577
child 544 6b15ef33e8f2
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(-)
Makefile.in
ct-ng.in
     1.1 --- a/Makefile.in	Sun Jun 01 20:33:41 2008 +0000
     1.2 +++ b/Makefile.in	Sun Jun 01 20:36:36 2008 +0000
     1.3 @@ -103,8 +103,6 @@
     1.4  	@rm -f $(LIBDIR)/tools/addToolVersion.sh
     1.5  	@echo "  INST   steps.mk"
     1.6  	@install -m 644 steps.mk $(LIBDIR)/steps.mk
     1.7 -	@echo "  INST   .version"
     1.8 -	@echo "$(VERSION)" >$(LIBDIR)/.version
     1.9  
    1.10  # Samples need a little love:
    1.11  #  - change every occurrence of CT_TOP_DIR to CT_LIB_DIR
     2.1 --- a/ct-ng.in	Sun Jun 01 20:33:41 2008 +0000
     2.2 +++ b/ct-ng.in	Sun Jun 01 20:36:36 2008 +0000
     2.3 @@ -22,7 +22,7 @@
     2.4  export CT_DOC_DIR:=@@CT_DOCDIR@@
     2.5  
     2.6  # This is crosstool-NG version string
     2.7 -export CT_VERSION:=$(shell cat $(CT_LIB_DIR)/.version)
     2.8 +export CT_VERSION:=@@CT_VERSION@@
     2.9  
    2.10  export CT_STOP:=$(STOP)
    2.11  export CT_RESTART:=$(RESTART)