From: Siraaj Khandkar Date: Mon, 22 Apr 2019 00:30:18 +0000 (-0400) Subject: Switch system config updates to manual X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;ds=sidebyside;h=576ba7eda33bf81d0b7489bfc8f69e66b4fd1f29;p=khome.git Switch system config updates to manual --- diff --git a/Makefile b/Makefile index 98825bd..8005c2c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ MAKEFLAGS := --no-builtin-rules -.PHONY: install install_packages +DPKG_SELECTIONS := system/debian/dpkg-selections +APT_SOURCES := system/debian/apt-sources.list + +.PHONY: update install install_packages install: @cp -Rp home/bin $(HOME)/ @@ -9,12 +12,10 @@ install: @cp home/.fonts.conf $(HOME)/ @fc-cache $(HOME)/.fonts -install_packages: system/debian/dpkg-selections +install_packages: $(DPKG_SELECTIONS) @dpkg --set-selections < $< @apt-get -u dselect-upgrade -system/debian/dpkg-selections: - @dpkg --get-selections > $@ - -system/debian/apt-sources.list: - @cp /etc/apt/sources.list $@ +update: + @dpkg --get-selections > $(DPKG_SELECTIONS) + @cp /etc/apt/sources.list $(APT_SOURCES)