home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak description
[khome.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
dcaa500
..
c5a0236
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,9
@@
MAKEFLAGS := --no-builtin-rules
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)/
install:
@cp -Rp home/bin $(HOME)/
@@
-8,10
+11,17
@@
install:
@cp home/.profile $(HOME)/
@cp home/.fonts.conf $(HOME)/
@fc-cache $(HOME)/.fonts
@cp home/.profile $(HOME)/
@cp home/.fonts.conf $(HOME)/
@fc-cache $(HOME)/.fonts
+ @cp home/.xbindkeysrc $(HOME)/
-install_packages: system/debian/dpkg-selections
+# May still need to run:
+# 1. dselect update
+# 2. interactive dselect with install,
+# 3. apt update
+# 4. apt upgrade
+install_packages: $(DPKG_SELECTIONS)
@dpkg --set-selections < $<
@apt-get -u dselect-upgrade
@dpkg --set-selections < $<
@apt-get -u dselect-upgrade
-system/debian/dpkg-selections:
- @dpkg --get-selections > $@
+update:
+ @dpkg --get-selections > $(DPKG_SELECTIONS)
+ @cp /etc/apt/sources.list $(APT_SOURCES)
This page took
0.024269 seconds
and
4
git commands to generate.