Add horlamca's compositor start script
[khome.git] / Makefile
index b72f1f9..4ffe078 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
@@ -77,7 +74,7 @@ pkgs_void_update:
 # Golang
 #
 pkgs_golang: list pkgs-golang.list
-       go get -u $(shell ./list pkgs-golang.list)
+       go install $(shell ./list pkgs-golang.list)
 
 #
 # Ubuntu
@@ -161,6 +158,10 @@ diff:
        | sort -zr \
        | xargs -0 -I% sh -c 'echo %; $(DIFF) --color=auto ~/% home/%'
 
+.PHONY: diff_bins_untracked
+diff_bins_untracked:
+       ls -1 ~/bin | sort | grep -vf <(ls -1 home/bin | sort)
+
 pull:
        find home -type f -print0 \
        | $(SED) -z 's/^home\///g' \
This page took 0.027307 seconds and 4 git commands to generate.