Test if per-host scripts dir exists before trying to access it
[khome.git] / Makefile
index b72f1f9..87aa969 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ endif
     diff \
     pull \
     push \
-    mpdconf_dirs \
+    dirs \
     pkgs_void \
     pkgs_void_update \
     pkgs_brew_cask_install \
@@ -43,16 +43,13 @@ default:
        @echo '================================================================================'
        @exit 1
 
-home: compiled | mpdconf_dirs
+home: compiled dirs
        cp -Rp bin $(HOME)/
        $(MAKE) push
        xdg-user-dirs-update
 
-mpdconf_dirs:
-       mkdir -p ~/arc/aud
-       mkdir -p ~/var/lib/mpd/playlists
-       mkdir -p ~/var/log/mpd
-       mkdir -p ~/var/run/mpd
+dirs:
+       mkdir -p $(shell ./list dirs)
 
 compiled:
        mkdir -p bin
This page took 0.025616 seconds and 4 git commands to generate.