Add help target.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 18 Dec 2011 23:28:39 +0200
changeset 63 f1bd82604661
parent 62 4ff6adf43cf0
child 64 1174ea277aef
Add help target.
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)
+