summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <somasis@exherbo.org>2015-06-02 22:24:03 -0400
committerKylie McClain <somasis@exherbo.org>2015-06-02 22:24:03 -0400
commitf7ea73e491a8a3fbdcb7ee072d7bcb3219a9b261 (patch)
treea2f748311cacad38410b044cd612df3d0b64cda7
parente77eb1f5b1424602bb55fd708fb088380228be2f (diff)
Makefile: add help target
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8b1e38d..d6edc61 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,22 @@ Shiki-Wise_selected = 97bf60
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:
[[ "$(no_git)" ]] || git submodule update
cd $(BASE) && rm -rf xfwm4 metacity-1 openbox-3 xfce-notify-4.0 index.theme