X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=8005c2c65fca519e98432b182dde27f2df74ba50;hb=576ba7eda33bf81d0b7489bfc8f69e66b4fd1f29;hp=45086eb9b2d728fdcd3cf8232da50f6fb1340866;hpb=80cc9199a10658b4a40b466e86c3d49ddb582df2;p=khome.git diff --git a/Makefile b/Makefile index 45086eb..8005c2c 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,21 @@ MAKEFLAGS := --no-builtin-rules -.PHONY: install +DPKG_SELECTIONS := system/debian/dpkg-selections +APT_SOURCES := system/debian/apt-sources.list + +.PHONY: update install install_packages install: - @cp -Rp bin $(HOME)/ - @cp -Rp lib $(HOME)/ - @cp .profile $(HOME)/ + @cp -Rp home/bin $(HOME)/ + @cp -Rp home/lib $(HOME)/ + @cp home/.profile $(HOME)/ + @cp home/.fonts.conf $(HOME)/ + @fc-cache $(HOME)/.fonts + +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)