diff -r 4cfb94e11b5d -r 1f1363141da7 Makefile --- a/Makefile Thu Jan 12 23:18:00 2012 +0200 +++ b/Makefile Thu Jan 12 23:24:56 2012 +0200 @@ -89,7 +89,7 @@ ################################################################ # Project dirs/files. -BUILD_SCRIPT := $(first-word $(MAKEFILE_LIST)) +BUILD_SCRIPT := $(firstword $(MAKEFILE_LIST)) C5_FILES := $(wildcard *.dict-c5) DICT_FILES := $(C5_FILES:.dict-c5=.dict) @@ -188,7 +188,16 @@ $(RST2HTML) $(RST2HTML_FLAGS) --stylesheet=rst.css $*.rst $@ ################################################################ -# Statistics targets. +# Helpers targets. + +.PHONY: help +help: + @echo + @echo vmajor=$(vmajor) + @echo vminor=$(vminor) + @echo + @echo Supported targets: + @sed -n -e '/^[[:alnum:]_-]*:/{s=^\(.*\):.*= \1=;p;}' $(BUILD_SCRIPT) .PHONY: stat stat: @@ -212,12 +221,3 @@ rm -f $(DICTDZ_FILES) $(INDEX_FILES) $(HTML_FILES) rm -rf $(DIST_DIR) $(DISTSRC_DIR) $(DIST_TARBALLS) $(DISTSRC_TARBALLS) -################################################################ -# Helper target. - -.PHONY: help -help: - @echo - @echo Supported targets: - @sed -n -e '/^[[:alnum:]_-]*:/{s=^\(.*\):.*= \1=;p;}' $(MAKEFILE_LIST) -