From 5547133ee7de055ce9c4e15a4039684fc71a4c07 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Fri, 18 Dec 2020 11:20:26 +0100 Subject: [PATCH] makefile: add help target and make it the default one Signed-off-by: Frantisek Hrbata --- Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 75a1a93..4122df1 100644 --- 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 -- 1.7.10.4