home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch weather notifier to pista from wttr.in
[khome.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
69ee41f
..
abcaefb
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,9
+3,11
@@
MAKEFLAGS := --no-builtin-rules
DEPS := $(wildcard deps/*)
ifeq ($(shell uname),Darwin)
DEPS := $(wildcard deps/*)
ifeq ($(shell uname),Darwin)
+ GREP := ggrep
SED := gsed
DIFF := $(shell gls -t1 /usr/local/Cellar/diffutils/*/bin/diff | head -1)
else
SED := gsed
DIFF := $(shell gls -t1 /usr/local/Cellar/diffutils/*/bin/diff | head -1)
else
+ GREP := grep
SED := sed
DIFF := diff
endif
SED := sed
DIFF := diff
endif
@@
-38,18
+40,18
@@
default:
@exit 1
home: mpdconf compiled
@exit 1
home: mpdconf compiled
-
@cp -Rp bin
$(HOME)/
+
cp -Rp bin
$(HOME)/
# Limit depth because directories are copied recursively:
find home -maxdepth 1 -print0 \
# Limit depth because directories are copied recursively:
find home -maxdepth 1 -print0 \
- |
grep
-zv '^home$$' \
+ |
$(GREP)
-zv '^home$$' \
| xargs -0 -I% cp -Rp % ~
mpdconf:
| xargs -0 -I% cp -Rp % ~
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)/
+ 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
compiled:
mkdir -p bin
@@
-57,13
+59,13
@@
compiled:
mv src/clockloop bin/
font_cache:
mv src/clockloop bin/
font_cache:
-
@
fc-cache -fv
+ fc-cache -fv
#
# Golang
#
pkgs_golang: list pkgs-golang.list
#
# Golang
#
pkgs_golang: list pkgs-golang.list
- go get $(shell ./list pkgs-golang.list)
+ go get
-u
$(shell ./list pkgs-golang.list)
#
# Ubuntu
#
# Ubuntu
This page took
0.026655 seconds
and
4
git commands to generate.