summaryrefslogtreecommitdiff
path: root/makext.mk
diff options
context:
space:
mode:
Diffstat (limited to 'makext.mk')
-rw-r--r--makext.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/makext.mk b/makext.mk
index 613514e..cf25906 100644
--- a/makext.mk
+++ b/makext.mk
@@ -13,11 +13,11 @@
# to learn more and contribute to the project.
.help:
-ifdef M_DESCRIPTION
- @echo "$(M_DESCRIPTION)\n" | fmt
+ifdef MK_DESCRIPTION
+ @echo "$(MK_DESCRIPTION)\n" | fmt
endif
@echo "Targets:"
- @grep '^.*:.* #' Makefile | sed -E 's/(.*):.*#(.*)/ \1###\2/' | column -t -s '###'
-ifdef M_LICENSE
- @echo "\n$(M_LICENSE)" | fmt
+ @grep -vE '^[[:space:]]' $(MAKEFILE_LIST) | grep -E '^.*:.* #' | sed -E 's/(.*):.*#(.*)/ \1###\2/' | column -t -s '###'
+ifdef MK_LICENSE
+ @echo "\n$(MK_LICENSE)" | fmt
endif