home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba898a0
)
Add "pull" recipe to update repo files from live ones
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 12 Apr 2020 03:03:11 +0000
(23:03 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 12 Apr 2020 03:03:11 +0000
(23:03 -0400)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
48a2292
..
0051363
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-9,6
+9,7
@@
DEPS := $(wildcard deps/*)
deps \
home \
diff \
+ pull \
mpdconf \
pkgs_brew_cask_install \
pkgs_brew_install \
@@
-131,6
+132,11
@@
diff:
| 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
This page took
0.027769 seconds
and
4
git commands to generate.