Add make recipe for dirs expected in .mpdconf
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 14 Nov 2019 23:34:54 +0000 (18:34 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 14 Nov 2019 23:34:54 +0000 (18:34 -0500)
Makefile

index 261b5a5..4dd1869 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,9 @@ MAKEFLAGS := --no-builtin-rules
 
 DEPS := $(wildcard deps/*)
 
-.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs deps $(DEPS) pkgs_snap_classic pkgs_snap_strict
+.PHONY: home pkgs_deb_install pkgs_deb_purge pkgs deps $(DEPS) pkgs_snap_classic pkgs_snap_strict mpdconf
 
-home:
+home: mpdconf
        @cp  -Rp  home/bin           $(HOME)/
        @cp  -Rp  home/lib           $(HOME)/
        @cp       home/.compton.conf $(HOME)/
@@ -13,10 +13,16 @@ home:
        @cp       home/.fonts.conf   $(HOME)/
        @fc-cache                    $(HOME)/.fonts
        @cp       home/.Rprofile     $(HOME)/
-       @cp       home/.mpdconf      $(HOME)/
        @cp       home/.tmux.conf    $(HOME)/
        @cp       home/.xbindkeysrc  $(HOME)/
 
+mpdconf:
+       @mkdir -p ~/Archives/Audio
+       @mkdir -p ~/var/lib/mpd/playlists
+       @mkdir -p ~/var/log/mpd
+       @mkdir -p ~/var/run/mpd
+       @cp home/.mpdconf $(HOME)/
+
 pkgs:
        $(MAKE) pkgs_deb_install
        $(MAKE) pkgs_deb_purge
This page took 0.030045 seconds and 4 git commands to generate.