DEPS := $(wildcard deps/*)
.PHONY: \
- default \
+ default \
+ clean \
$(DEPS) \
deps \
home \
@echo '================================================================================'
@exit 1
-home: mpdconf
+home: mpdconf compiled
+ @cp -Rp bin $(HOME)/
@cp -Rp home/bin $(HOME)/
@cp -Rp home/lib $(HOME)/
@cp home/.compton.conf $(HOME)/
@mkdir -p ~/var/run/mpd
@cp home/.mpdconf $(HOME)/
+compiled:
+ mkdir -p bin
+ cd src && make
+ mv src/clockloop bin/
+
font_cache:
@fc-cache -fv
pkgs_ubuntu: list pkgs-ubuntu.list
sudo apt install $(shell ./list pkgs-ubuntu.list)
+pkgs_ubuntu_debfiles: list pkgs-ubuntu-debfiles.list
+ ./install-debfiles pkgs-ubuntu-debfiles.list
+
#
# PIP
#
diff $(HOME)/lib/login_variables.sh home/lib/login_variables.sh || true
diff $(HOME)/lib/login_variables_dpi_high.sh home/lib/login_variables_dpi_high.sh || true
diff $(HOME)/lib/login_variables_dpi_norm.sh home/lib/login_variables_dpi_norm.sh || true
+
+clean:
+ rm -rf ./debfiles
+ cd src && make clean