Add dpkg-selections
[khome.git] / Makefile
index 7ad28bf..0767ec4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 MAKEFLAGS := --no-builtin-rules
 
-.PHONY: install
+.PHONY: install install_packages
 
 install:
        @cp -Rp bin $(HOME)/
@@ -8,3 +8,10 @@ install:
        @cp     .profile $(HOME)/
        @cp     .fonts.conf $(HOME)/
        @fc-cache $(HOME)/.fonts
+
+install_packages: dpkg-selections
+       @dpkg --set-selections < $<
+       @apt-get -u dselect-upgrade
+
+dpkg-selections:
+       @dpkg --get-selections > $@
This page took 0.025233 seconds and 4 git commands to generate.