From 576ba7eda33bf81d0b7489bfc8f69e66b4fd1f29 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sun, 21 Apr 2019 20:30:18 -0400 Subject: [PATCH] Switch system config updates to manual --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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) -- 2.20.1