# HG changeset patch # User Oleksandr Gavenko # Date 1324243719 -7200 # Node ID f1bd8260466172f48f12e76c49a23da2cacf6ed2 # Parent 4ff6adf43cf00bb9877abc5268984665df6c5b8f Add help target. diff -r 4ff6adf43cf0 -r f1bd82604661 Makefile --- a/Makefile Mon Sep 05 01:30:51 2011 +0300 +++ b/Makefile Sun Dec 18 23:28:39 2011 +0200 @@ -87,3 +87,13 @@ .PHONY: clean clean: rm -f $(DICTDZ_FILES) $(INDEX_FILES); + +################################################################ +# Helper target. + +.PHONY: help +help: + @echo + @echo Supported targets: + @sed -n -e '/^[[:alnum:]_-]*:/{s=^\(.*\):.*= \1=;p;}' $(MAKEFILE_LIST) +