include config.mk SHELL := /bin/bash 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" config: rm -rf .config @./scripts/set_theme.sh @echo "Run make to compile sarc" sarc: clean ./scripts/cp.sh ${COLOR} cp wm/${DMENU}/config.h wm/${DMENU}/real_config.h ./scripts/pre_build.sh mkdir -p ~/.config/sarc/ @echo "Compiling wm..." make wm -C wm make utils -C utils rm -rf colors.h @echo @echo "Finished! Run make install to install" c: clean cfg: config install: feh_fix make install-wm -C wm make install-utils -C utils install scripts/sarc.sh /usr/local/bin mkdir -p $(PREFIX)/share/doc/sarc cp sarc.1 $(MANPREFIX)/man1/ @echo clean: make clean-wm -C wm make clean-utils -C utils 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: mkdir test cp -r * test/ uninstall: make uninstall -C $(DWM) make uninstall -C $(ST) make uninstall -C $(DMENU) make uninstall -C surf make uninstall -C nsxiv make uninstall -C tabbed make uninstall -C dwmblocks make uninstall -C farbfeld make uninstall -C wmname make uninstall -C scroll-0.1