Commit | Line | Data |
---|---|---|
80cc9199 SK |
1 | MAKEFLAGS := --no-builtin-rules |
2 | ||
576ba7ed SK |
3 | DPKG_SELECTIONS := system/debian/dpkg-selections |
4 | APT_SOURCES := system/debian/apt-sources.list | |
5 | ||
6 | .PHONY: update install install_packages | |
80cc9199 SK |
7 | |
8 | install: | |
a68d5744 SK |
9 | @cp -Rp home/bin $(HOME)/ |
10 | @cp -Rp home/lib $(HOME)/ | |
d101fbe9 | 11 | @cp -Rp home/.config/ $(HOME)/ |
a68d5744 SK |
12 | @cp home/.profile $(HOME)/ |
13 | @cp home/.fonts.conf $(HOME)/ | |
14 | @fc-cache $(HOME)/.fonts | |
61812c4e | 15 | @cp home/.Rprofile $(HOME)/ |
fa0636da | 16 | @cp home/.mpdconf $(HOME)/ |
efe0d061 | 17 | @cp home/.xbindkeysrc $(HOME)/ |
e184ff59 | 18 | |
110fc59a SK |
19 | # May still need to run: |
20 | # 1. dselect update | |
21 | # 2. interactive dselect with install, | |
22 | # 3. apt update | |
23 | # 4. apt upgrade | |
576ba7ed | 24 | install_packages: $(DPKG_SELECTIONS) |
e184ff59 SK |
25 | @dpkg --set-selections < $< |
26 | @apt-get -u dselect-upgrade | |
27 | ||
576ba7ed SK |
28 | update: |
29 | @dpkg --get-selections > $(DPKG_SELECTIONS) | |
30 | @cp /etc/apt/sources.list $(APT_SOURCES) |