Add an action to print the version.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 16 16:34:36 2007 +0000 (2007-07-16)
changeset 268acf28f3d6ee1
parent 267 6d5f7f8e9575
child 269 9649a1d5ac2f
Add an action to print the version.
ct-ng.in
     1.1 --- a/ct-ng.in	Sun Jul 15 17:01:40 2007 +0000
     1.2 +++ b/ct-ng.in	Mon Jul 16 16:34:36 2007 +0000
     1.3 @@ -59,6 +59,7 @@
     1.4  	@echo
     1.5  	@echo  'Execute "$(CT_NG) config" or "$(CT_NG) menuconfig" to configure crosstool-NG'
     1.6  	@echo  'Execute "$(CT_NG) build" to build your toolchain'
     1.7 +	@echo  'Execute "$(CT_NG) version" to see the version'
     1.8  	@echo  'See "man 1 ct-ng" for some help as well'
     1.9  
    1.10  # End help system
    1.11 @@ -94,8 +95,13 @@
    1.12  #tarball:
    1.13  #	@$(CT_LIB_DIR)/scripts/tarball.sh
    1.14  tarball:
    1.15 +	@echo 'Tarbal creation disabled for now... Sorry.'
    1.16  	@true
    1.17  
    1.18 +PHONY += version
    1.19 +version:
    1.20 +	@echo 'This crosstool-NG version $(CT_VERSION)'
    1.21 +
    1.22  PHONY += clean
    1.23  clean::
    1.24  	@rm -f $(CT_TOP_DIR)/.config.*