Add an action to print the version.

This commit is contained in:
Yann E. MORIN" 2007-07-16 16:34:36 +00:00
parent e95b75f7e3
commit 16503c2f06

View File

@ -59,6 +59,7 @@ help-tail::
@echo
@echo 'Execute "$(CT_NG) config" or "$(CT_NG) menuconfig" to configure crosstool-NG'
@echo 'Execute "$(CT_NG) build" to build your toolchain'
@echo 'Execute "$(CT_NG) version" to see the version'
@echo 'See "man 1 ct-ng" for some help as well'
# End help system
@ -94,8 +95,13 @@ PHONY += tarball
#tarball:
# @$(CT_LIB_DIR)/scripts/tarball.sh
tarball:
@echo 'Tarbal creation disabled for now... Sorry.'
@true
PHONY += version
version:
@echo 'This crosstool-NG version $(CT_VERSION)'
PHONY += clean
clean::
@rm -f $(CT_TOP_DIR)/.config.*