summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2017-10-18 06:16:09 -0400
committerJesse Luehrs <doy@tozt.net>2017-10-18 06:16:25 -0400
commit98099e29aab4031f9652060c2f2df7ab8071b9c7 (patch)
treed8225568669e76b8646395c15852eaacc6ef6a51 /Makefile
parentb2ea126b38719d51eb5e930d74333079055679c0 (diff)
downloadconf-98099e29aab4031f9652060c2f2df7ab8071b9c7.tar.gz
conf-98099e29aab4031f9652060c2f2df7ab8071b9c7.zip
a bit more plugin handling in the makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 473c862..df099a9 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,7 @@ INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL))
BUILD = bin/local/timettyrec \
$(addsuffix .dat,$(filter-out %.dat,$(wildcard fortune/*))) \
+ $(addsuffix tags,$(wildcard vim/pack/local/start/*/doc/)) \
vim/spell/en.utf-8.add.spl \
less
@@ -81,7 +82,10 @@ LN = @ln -sf
MKDIR = @mkdir -p
RM = @rm -f
-build : $(BUILD)
+build : submodules $(BUILD)
+
+submodules :
+ @git submodule update --init --recursive
install : build $(INSTALLED) /var/spool/cron/$(USER) $(INTO)/Maildir/.notmuch $(INTO)/.config/fish
@for dir in $(EMPTYDIRS); do mkdir -p $(INTO)/$$dir; done
@@ -125,4 +129,7 @@ $(INTO)/.config/fish: fish
%.spl : %
@vim -u NONE -c':mkspell! $< | :q'
-.PHONY: build install clean update
+%/doc/tags: %/doc
+ @vim -u NONE -c':helptags $< | :q'
+
+.PHONY: build submodules install clean update