Various build system updates/tweaks
This commit is contained in:
parent
ef2e48d641
commit
bac5b2a5fb
11
Makefile
11
Makefile
@ -78,7 +78,10 @@ help:
|
|||||||
@echo " If you do not want to run \`git submodules update\` during the prepare"
|
@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\`"
|
@echo " phase, set \${no_git}; ex. \`no_git=true make prepare\`"
|
||||||
|
|
||||||
prepare:
|
numix-themes:
|
||||||
|
git clone https://github.com/shimmerproject/Numix $(BASE)
|
||||||
|
|
||||||
|
prepare: numix-themes
|
||||||
[[ "$(no_git)" ]] || git submodule init
|
[[ "$(no_git)" ]] || git submodule init
|
||||||
[[ "$(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
|
||||||
@ -87,7 +90,6 @@ Shiki-%:
|
|||||||
@echo "Generating $@ from $(BASE)..."
|
@echo "Generating $@ from $(BASE)..."
|
||||||
cp -r $(BASE) $@
|
cp -r $(BASE) $@
|
||||||
sed -i $@/gtk-2.0/gtkrc $@/gtk-3.0/*.css $@/gtk-3.0/assets/*.svg \
|
sed -i $@/gtk-2.0/gtkrc $@/gtk-3.0/*.css $@/gtk-3.0/assets/*.svg \
|
||||||
$@/gtk-3.0/apps/*.css \
|
|
||||||
-e 's/#d64937/#$($@_selected)/g' \
|
-e 's/#d64937/#$($@_selected)/g' \
|
||||||
-e 's/#2d2d2d/#$($@_menubar_bg)/g'
|
-e 's/#2d2d2d/#$($@_menubar_bg)/g'
|
||||||
|
|
||||||
@ -96,7 +98,10 @@ generate: prepare
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(BASE)
|
rm -rf $(BASE)
|
||||||
$(foreach COLOR,$(COLORS),rm -rf Shiki-$(COLOR)/;)
|
@for color in $(COLORS);do \
|
||||||
|
echo "rm -rf Shiki-$$color"; \
|
||||||
|
rm -rf "Shiki-$$color"; \
|
||||||
|
done
|
||||||
|
|
||||||
install: generate
|
install: generate
|
||||||
mkdir -p $(DESTDIR)$(PREFIX)/share/themes
|
mkdir -p $(DESTDIR)$(PREFIX)/share/themes
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit d6d58541dbd5cbb4de1b6303c9e5bf3f2712f330
|
|
Loading…
x
Reference in New Issue
Block a user