X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=0767ec4556e79c734989dbe1ced130d0f3a19e26;hb=e184ff59e5cc01f9f62d0be272b77e59e149a6f1;hp=7ad28bf3b787bc998fe70f64b28cebfd77881977;hpb=68992a1d4c1c60450ab72de97ec9d84ad1ca8169;p=khome.git diff --git a/Makefile b/Makefile index 7ad28bf..0767ec4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ MAKEFLAGS := --no-builtin-rules -.PHONY: install +.PHONY: install install_packages install: @cp -Rp bin $(HOME)/ @@ -8,3 +8,10 @@ install: @cp .profile $(HOME)/ @cp .fonts.conf $(HOME)/ @fc-cache $(HOME)/.fonts + +install_packages: dpkg-selections + @dpkg --set-selections < $< + @apt-get -u dselect-upgrade + +dpkg-selections: + @dpkg --get-selections > $@