summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7c3775b..0475fd5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
include config.mk
SHELL := /bin/bash
+CONFIG = config
+include ${CONFIG}
all: sarc
help:
@echo "sarc compilation"
@echo ""
@echo " c, clean: cleans dir"
- @echo " cleanp: really cleans dir"
- @echo " cfg,config: sets a theme for sarc"
@echo " install: installs build"
@echo
@echo "running with no args will just build it"
@@ -16,8 +16,10 @@ config:
@./scripts/set_theme.sh
@echo "Run make to compile sarc"
sarc: clean
- ./scripts/cp.sh
- ${COLOR}
+ cp ./profiles/${PROFILE}/keys.h ./wm/dwm-6.4/
+ cp ./profiles/${PROFILE}/blocks.h ./wm/dwmblocks/
+ cp ./theme/${THEME}/${THEME}.png ~/.config/wallpaper.png
+ cp ./theme/${THEME}/colors.h .
cp wm/${DMENU}/config.h wm/${DMENU}/real_config.h
./scripts/pre_build.sh
mkdir -p ~/.config/sarc/
@@ -42,8 +44,6 @@ clean:
rm -rf colors.h wm/${DMENU}/real_config.h
part:
./scripts/cp.sh
-cleanp: clean
- rm -rf .config
feh_fix:
cp scripts/fehbg ${PREFIX}/bin/
test1: