X-Git-Url: https://git.xandkar.net/?p=khome.git;a=blobdiff_plain;f=Makefile;h=ca399166d6d51defca03e08a82ab1b3412c4690a;hp=6f97234cf92cad295ea2550a9fcbfebbdf4b02f5;hb=7cdde8d9423977baf5236ecc5497f72dbbea8890;hpb=5bf7b45d8c7d084400907dc26c53c5acbe5d34c6 diff --git a/Makefile b/Makefile index 6f97234..ca39916 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ MAKEFLAGS := --no-builtin-rules DEPS := $(wildcard deps/*) .PHONY: \ - default \ + default \ + clean \ $(DEPS) \ deps \ home \ @@ -24,7 +25,8 @@ default: @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)/ @@ -32,7 +34,6 @@ home: mpdconf @cp -Rp home/.newsboat/ $(HOME)/ @cp home/.profile $(HOME)/ @cp home/.fonts.conf $(HOME)/ - @fc-cache -fv @cp home/.Rprofile $(HOME)/ @cp home/.tmux.conf $(HOME)/ @cp home/.xbindkeysrc $(HOME)/ @@ -44,6 +45,14 @@ mpdconf: @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 + # # Golang # @@ -56,6 +65,9 @@ pkgs_golang: list pkgs-golang.list 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 # @@ -132,3 +144,7 @@ diff: 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