summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-07-17 16:03:06 -0400
committerJesse Luehrs <doy@tozt.net>2016-07-17 16:03:35 -0400
commitbce00574a9cd544c4f181575c368956700097ae9 (patch)
treecf9a7244bd488623f52bd1a222ec5b969dcfe666 /Makefile
parent1080bca44e1e0fa88b0ddde9d21d2fae72b935dc (diff)
downloadconf-bce00574a9cd544c4f181575c368956700097ae9.tar.gz
conf-bce00574a9cd544c4f181575c368956700097ae9.zip
makefile target to update my submodules
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9979ed0..2f6740b 100644
--- a/Makefile
+++ b/Makefile
@@ -96,6 +96,10 @@ clean :
@crontab -r
$(RM) $(BUILD) $(INSTALLED)
+update :
+ @git submodule foreach 'git checkout master && git pull'
+ @$(MAKE)
+
$(INTO)/.% : %
@[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak
$(LN) $(PWD)/$< $@