summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-29 20:37:25 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-29 21:47:38 -0400
commitf1213b87471e783c985ccf374bdb80eb2d20870e (patch)
tree8b14aa0d12534e2e0328ea5ff503f489a73f5e46 /Makefile
parentd32b037f4ef3f6a4434bd563257dfc43443ae4f5 (diff)
downloadconf-f1213b87471e783c985ccf374bdb80eb2d20870e.tar.gz
conf-f1213b87471e783c985ccf374bdb80eb2d20870e.zip
add `make versions` to show when each of my plugins was last updated
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 732b5b2..6831031 100644
--- a/Makefile
+++ b/Makefile
@@ -104,6 +104,9 @@ update :
@git submodule foreach '(if [ $$path == "vim/pack/filetype/start/perl" ]; then git checkout dev; else git checkout master; fi) && git pull'
@$(MAKE) build
+versions :
+ @git submodule foreach -q 'printf "%-53s" " $$path" && GIT_PAGER=cat git show -s --format=format:%cI%n $$sha1'
+
$(INTO)/.% : %
@[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak
$(LN) $(PWD)/$< $@