summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-11-06 20:48:37 -0500
committerJesse Luehrs <doy@tozt.net>2017-11-06 20:52:50 -0500
commit8976075e288d8cadc5c6c6d1e59615b9b2fee137 (patch)
tree79e3d7725215dccf705cdceb20c89ed54d43c50a /Makefile
parentf6e46031bd27e6bb84153e2f407b04bd03cdea2e (diff)
downloadconf-8976075e288d8cadc5c6c6d1e59615b9b2fee137.tar.gz
conf-8976075e288d8cadc5c6c6d1e59615b9b2fee137.zip
make target to show changes in plugins after updating
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7e184ea..ae31e0f 100644
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,9 @@ update :
versions :
@git submodule foreach -q 'printf "%-53s" " $$path" && GIT_PAGER=cat git show -s --format=format:%cI%n $$sha1'
+updates :
+ @git submodule foreach -q 'if [ $$path == "vim/pack/filetype/start/perl" ]; then if [ $$(git rev-parse dev) != $$sha1 ]; then git lg dev...$$sha1; fi; else if [ $$(git rev-parse master) != $$sha1 ]; then git lg master...$$sha1; fi; fi'
+
$(INTO)/.% : %
@[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak
$(LN) $(PWD)/$< $@