Makefile: add help target
This commit is contained in:
parent
e77eb1f5b1
commit
f7ea73e491
16
Makefile
16
Makefile
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user