diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-10-18 06:16:09 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-10-18 06:16:25 -0400 |
commit | 98099e29aab4031f9652060c2f2df7ab8071b9c7 (patch) | |
tree | d8225568669e76b8646395c15852eaacc6ef6a51 /Makefile | |
parent | b2ea126b38719d51eb5e930d74333079055679c0 (diff) | |
download | conf-98099e29aab4031f9652060c2f2df7ab8071b9c7.tar.gz conf-98099e29aab4031f9652060c2f2df7ab8071b9c7.zip |
a bit more plugin handling in the makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |