X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=70a93f0bcb1b512f1e5a02d28e1132cec376af06;hb=fd56cf9a6f677807ecf5039a8a404ac3961f6a0c;hp=c47c4ead516b71fd9ed3e4b45ea65073f156e6bb;hpb=d101fbe94d6abb5e08fe4df7dfc99b6380025da6;p=khome.git diff --git a/Makefile b/Makefile index c47c4ea..70a93f0 100644 --- a/Makefile +++ b/Makefile @@ -1,28 +1,19 @@ MAKEFLAGS := --no-builtin-rules -DPKG_SELECTIONS := system/debian/dpkg-selections -APT_SOURCES := system/debian/apt-sources.list +.PHONY: install_home install_pkgs -.PHONY: update install install_packages - -install: +install_home: @cp -Rp home/bin $(HOME)/ @cp -Rp home/lib $(HOME)/ + @cp home/.compton.conf $(HOME)/ @cp -Rp home/.config/ $(HOME)/ @cp home/.profile $(HOME)/ @cp home/.fonts.conf $(HOME)/ @fc-cache $(HOME)/.fonts + @cp home/.Rprofile $(HOME)/ + @cp home/.mpdconf $(HOME)/ + @cp home/.tmux.conf $(HOME)/ @cp home/.xbindkeysrc $(HOME)/ -# May still need to run: -# 1. dselect update -# 2. interactive dselect with install, -# 3. apt update -# 4. apt upgrade -install_packages: $(DPKG_SELECTIONS) - @dpkg --set-selections < $< - @apt-get -u dselect-upgrade - -update: - @dpkg --get-selections > $(DPKG_SELECTIONS) - @cp /etc/apt/sources.list $(APT_SOURCES) +install_pkgs: install_pkgs.sh pkg-deb-install + ./install_pkgs.sh