Makefile: add help target

This commit is contained in:
Kylie McClain 2015-06-02 22:24:03 -04:00
parent e77eb1f5b1
commit f7ea73e491

View File

@ -30,6 +30,22 @@ Shiki-Wise_selected = 97bf60
all: prepare generate install all: prepare generate install
help:
@echo "make targets:"
@echo " all Prepare, generate, and install theme"
@echo " clean Delete generated themes and base ($(BASE))"
@echo " prepare Run pre-generation modifications on base theme"
@echo " generate Generate all colors specified in the Makefile"
@echo " Shiki-<color> Generate Shiki-<color>"
@echo " install Install themes to $(DESTDIR)$(PREFIX)/share/{plank/,}themes"
@echo
@echo "Base theme: $(BASE)"
@echo "Default themes to generate: $(foreach COLOR,$(COLORS),Shiki-$(COLOR))"
@echo
@echo "Notes:"
@echo " If you do not want to run \`git submodules update\` during the prepare"
@echo " phase, set \${no_git}; ex. \`no_git=true make prepare\`"
prepare: prepare:
[[ "$(no_git)" ]] || git submodule update [[ "$(no_git)" ]] || git submodule update
cd $(BASE) && rm -rf xfwm4 metacity-1 openbox-3 xfce-notify-4.0 index.theme cd $(BASE) && rm -rf xfwm4 metacity-1 openbox-3 xfce-notify-4.0 index.theme