mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
Fix printing the version string when configured with --local.
This commit is contained in:
parent
54cca9f2ba
commit
ecab7e451f
@ -96,7 +96,7 @@ install-lib-main: install-local-test $(LIBDIR)
|
||||
tar cf - --exclude=.svn $${src_dir} |(cd $(LIBDIR); tar xf -); \
|
||||
done
|
||||
@rm -f $(LIBDIR)/tools/addToolVersion.sh
|
||||
@for src_file in steps.mk version; do \
|
||||
@for src_file in steps.mk .version; do \
|
||||
echo " INST $${src_file}"; \
|
||||
install -m 644 $${src_file} $(LIBDIR)/$${src_file}; \
|
||||
done
|
||||
|
2
configure
vendored
2
configure
vendored
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=$(cat version)
|
||||
VERSION=$(cat .version)
|
||||
DATE=$(date +%Y%m%d)
|
||||
|
||||
PREFIX_DEFAULT=/usr/local
|
||||
|
6
ct-ng.in
6
ct-ng.in
@ -14,10 +14,10 @@ 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:=$(shell cat $(CT_LIB_DIR)/.version)
|
||||
|
||||
export CT_STOP=$(STOP)
|
||||
export CT_RESTART=$(RESTART)
|
||||
export CT_STOP:=$(STOP)
|
||||
export CT_RESTART:=$(RESTART)
|
||||
|
||||
.PHONY: $(PHONY)
|
||||
PHONY += all
|
||||
|
Loading…
Reference in New Issue
Block a user