Remove obsolete alignment
[khome.git] / Makefile
index d54f46b..b67a24f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,11 +21,13 @@ endif
     mpdconf \
     pkgs_brew_cask_install \
     pkgs_brew_install \
+    pkgs_cargo \
     pkgs_deb_install \
     pkgs_deb_purge \
     pkgs_debian \
     pkgs_mac \
-    pkgs_pip \
+    pkgs_pip_install \
+    pkgs_pip_upgrade \
     pkgs_snap_classic \
     pkgs_snap_strict
 
@@ -36,17 +38,11 @@ default:
        @exit 1
 
 home: mpdconf compiled
-       @cp  -Rp       bin           $(HOME)/
-       @cp  -Rp  home/bin           $(HOME)/
-       @cp  -Rp  home/lib           $(HOME)/
-       @cp       home/.compton.conf $(HOME)/
-       @cp  -Rp  home/.config/      $(HOME)/
-       @cp  -Rp  home/.newsboat/    $(HOME)/
-       @cp       home/.profile      $(HOME)/
-       @cp       home/.fonts.conf   $(HOME)/
-       @cp       home/.Rprofile     $(HOME)/
-       @cp       home/.tmux.conf    $(HOME)/
-       @cp       home/.xbindkeysrc  $(HOME)/
+       cp -Rp bin $(HOME)/
+       # Limit depth because directories are copied recursively:
+       find home -maxdepth 1 -print0 \
+       | grep -zv '^home$$' \
+       | xargs -0 -I% cp -Rp % ~
 
 mpdconf:
        @mkdir -p ~/Archives/Audio
@@ -81,8 +77,18 @@ pkgs_ubuntu_debfiles: list pkgs-ubuntu-debfiles.list
 #
 # PIP
 #
-pkgs_pip:
-       sudo pip3 install $(shell ./list pkgs-pip.list)
+pkgs_pip_install:
+       pip3 install --user $(shell ./list pkgs-pip.list)
+
+pkgs_pip_upgrade:
+       pip3 install --user --upgrade $(shell ./list pkgs-pip.list)
+
+#
+# Rust (cargo)
+#
+
+pkgs_cargo: list pkgs-cargo.list
+       cargo install $(shell ./list pkgs-cargo.list)
 
 #
 # Homebrew/Mac
This page took 0.035875 seconds and 4 git commands to generate.