From: Siraaj Khandkar Date: Thu, 14 Nov 2019 23:34:54 +0000 (-0500) Subject: Add make recipe for dirs expected in .mpdconf X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=9d9538819e154aba6520887154e11f08b65b4ae7;p=khome.git Add make recipe for dirs expected in .mpdconf --- diff --git a/Makefile b/Makefile index 261b5a5..4dd1869 100644 --- 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