From: Siraaj Khandkar Date: Sun, 17 Jul 2022 22:07:00 +0000 (+0000) Subject: Add a common dir layout recipe X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=288fa35b7d73038be91ef7037e8ccd0ea690e66f;p=khome.git Add a common dir layout recipe --- diff --git a/Makefile b/Makefile index b72f1f9..988af3a 100644 --- 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,13 +43,18 @@ default: @echo '================================================================================' @exit 1 -home: compiled | mpdconf_dirs +home: compiled dirs cp -Rp bin $(HOME)/ $(MAKE) push xdg-user-dirs-update -mpdconf_dirs: +dirs: mkdir -p ~/arc/aud + mkdir -p ~/arc/img + mkdir -p ~/arc/vid + mkdir -p ~/dl + mkdir -p ~/doc + mkdir -p ~/proj/{pub,priv} mkdir -p ~/var/lib/mpd/playlists mkdir -p ~/var/log/mpd mkdir -p ~/var/run/mpd