makefile: add help target and make it the default one
authorFrantisek Hrbata <frantisek@hrbata.com>
Fri, 18 Dec 2020 10:20:26 +0000 (11:20 +0100)
committerFrantisek Hrbata <frantisek@hrbata.com>
Fri, 18 Dec 2020 10:20:26 +0000 (11:20 +0100)
Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
Makefile

index 75a1a93edf3e5a605b23c0300e36e007d8277968..4122df144da8b41dfac2f13bc79cb9aae3a9ecf4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,15 @@
-.PHONY: clean rpm doc man html install uninstall clean_man clean_html
-
-all::
+.PHONY: clean rpm doc man html install uninstall clean_man clean_html help
+
+all: help
+
+help:
+       @echo 'man        - generate manual pages'
+       @echo 'html       - generate html version of manual pages'
+       @echo 'doc        - man + html'
+       @echo 'rpm        - generate binary rpm package'
+       @echo 'clean      - remove man and html pages'
+       @echo 'install    - install gimrr to system or DESTDIR'
+       @echo 'uninstall  - remove gimrr from system or DESTDIR'
 
 RM = rm -f
 INSTALL = install