Switch weather notifier to pista from wttr.in
[khome.git] / Makefile
index 19014a3..abcaefb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,11 @@ MAKEFLAGS := --no-builtin-rules
 DEPS := $(wildcard deps/*)
 
 ifeq ($(shell uname),Darwin)
+       GREP := ggrep
        SED := gsed
        DIFF := $(shell gls -t1 /usr/local/Cellar/diffutils/*/bin/diff | head -1)
 else
+       GREP := grep
        SED  := sed
        DIFF := diff
 endif
@@ -41,11 +43,11 @@ home: mpdconf compiled
        cp -Rp bin $(HOME)/
        # Limit depth because directories are copied recursively:
        find home -maxdepth 1 -print0 \
-       | grep -zv '^home$$' \
+       | $(GREP) -zv '^home$$' \
        | xargs -0 -I% cp -Rp % ~
 
 mpdconf:
-       mkdir -p ~/Archives/Audio
+       mkdir -p ~/arc/aud
        mkdir -p ~/var/lib/mpd/playlists
        mkdir -p ~/var/log/mpd
        mkdir -p ~/var/run/mpd
@@ -63,7 +65,7 @@ font_cache:
 # Golang
 #
 pkgs_golang: list pkgs-golang.list
-       go get $(shell ./list pkgs-golang.list)
+       go get -u $(shell ./list pkgs-golang.list)
 
 #
 # Ubuntu
This page took 0.02154 seconds and 4 git commands to generate.