Makefile: add "help" target

This commit is contained in:
Lars Kruse 2019-07-23 05:04:30 +02:00
parent 631e86156e
commit 9748ebdcfb

View file

@ -26,6 +26,15 @@ $(TARGET_FILE): plugins/* $(CONFIGURATION_FILE)
@chmod +x "$(TARGET_FILE).tmp" @chmod +x "$(TARGET_FILE).tmp"
@mv "$(TARGET_FILE).tmp" "$(TARGET_FILE)" @mv "$(TARGET_FILE).tmp" "$(TARGET_FILE)"
.PHONY: help
help:
@$(info Available targets:)
@$(info all - assemble 'TARGET_FILE' ($(TARGET_FILE)))
@$(info clean - remove assembled 'TARGET_FILE' ($(TARGET_FILE)))
@$(info clean-all - remove old releases from 'DIST_DIR' ($(DIST_DIR)))
@$(info help - show this overview)
@$(info tgz - create release archive)
.PHONY: all .PHONY: all
all: $(TARGET_FILE) all: $(TARGET_FILE)