home \
diff \
pull \
- mpdconf \
+ push \
+ mpdconf_dirs \
pkgs_void \
pkgs_void_update \
pkgs_brew_cask_install \
@echo '================================================================================'
@exit 1
-home: mpdconf compiled
+home: compiled | mpdconf_dirs
cp -Rp bin $(HOME)/
- # Limit depth because directories are copied recursively:
- find home -maxdepth 1 -print0 \
- | $(GREP) -zv '^home$$' \
- | xargs -0 -I% cp -Rp % ~
+ $(MAKE) push
xdg-user-dirs-update
-mpdconf:
+mpdconf_dirs:
mkdir -p ~/arc/aud
mkdir -p ~/var/lib/mpd/playlists
mkdir -p ~/var/log/mpd
mkdir -p ~/var/run/mpd
- cp home/.mpdconf $(HOME)/
compiled:
mkdir -p bin
| $(SED) -z 's/^home\///g' \
| xargs -0 -I% sh -c '$(DIFF) -q ~/% home/% > /dev/null || cp ~/% home/%'
+push:
+ # Limit depth because directories are copied recursively:
+ find home -maxdepth 1 -print0 \
+ | $(GREP) -zv '^home$$' \
+ | xargs -0 -I% cp -Rp % ~
+
clean:
rm -rf ./debfiles
cd src && make clean