home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore build artifact
[khome.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
02522ba
..
0051363
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-8,6
+8,8
@@
DEPS := $(wildcard deps/*)
$(DEPS) \
deps \
home \
$(DEPS) \
deps \
home \
+ diff \
+ pull \
mpdconf \
pkgs_brew_cask_install \
pkgs_brew_install \
mpdconf \
pkgs_brew_cask_install \
pkgs_brew_install \
@@
-130,6
+132,11
@@
diff:
| sed -z 's/^home\///g' \
| xargs -0 -I% sh -c 'echo %; diff --color=always ~/% home/%'
| sed -z 's/^home\///g' \
| xargs -0 -I% sh -c 'echo %; diff --color=always ~/% home/%'
+pull:
+ find home -type f -print0 \
+ | sed -z 's/^home\///g' \
+ | xargs -0 -I% sh -c 'diff -q ~/% home/% > /dev/null || cp ~/% home/%'
+
clean:
rm -rf ./debfiles
cd src && make clean
clean:
rm -rf ./debfiles
cd src && make clean
This page took
0.026811 seconds
and
4
git commands to generate.