Note what to expect on package re-install
[khome.git] / Makefile
1 MAKEFLAGS := --no-builtin-rules
2
3 DPKG_SELECTIONS := system/debian/dpkg-selections
4 APT_SOURCES := system/debian/apt-sources.list
5
6 .PHONY: update install install_packages
7
8 install:
9 @cp -Rp home/bin $(HOME)/
10 @cp -Rp home/lib $(HOME)/
11 @cp home/.profile $(HOME)/
12 @cp home/.fonts.conf $(HOME)/
13 @fc-cache $(HOME)/.fonts
14
15 # May still need to run:
16 # 1. dselect update
17 # 2. interactive dselect with install,
18 # 3. apt update
19 # 4. apt upgrade
20 install_packages: $(DPKG_SELECTIONS)
21 @dpkg --set-selections < $<
22 @apt-get -u dselect-upgrade
23
24 update:
25 @dpkg --get-selections > $(DPKG_SELECTIONS)
26 @cp /etc/apt/sources.list $(APT_SOURCES)
This page took 0.067181 seconds and 5 git commands to generate.