summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-03-11 22:10:40 -0400
committerJesse Luehrs <doy@tozt.net>2014-03-11 22:26:52 -0400
commit9d0f59a5772c34d16e9a6944143bd1266906a766 (patch)
treeec4d1cc58d0f778ad9cb1e46b8f75e284323ed51 /Makefile
parent80f67542cebfba81cdd1cfebc440b2a6960c37f6 (diff)
downloadconf-9d0f59a5772c34d16e9a6944143bd1266906a766.tar.gz
conf-9d0f59a5772c34d16e9a6944143bd1266906a766.zip
add a post-new hook to notmuch to handle tagging
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4383a1d..c0c0225 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ RM = @rm -f
build : $(BUILD)
-install : build $(INSTALLED) /var/spool/cron/$(USER)
+install : build $(INSTALLED) /var/spool/cron/$(USER) $(INTO)/Maildir/.notmuch
@for dir in $(EMPTYDIRS); do mkdir -p $(INTO)/$$dir; done
$(ECHO) Installed into $(INTO)
@@ -96,6 +96,10 @@ fortune/%.dat : fortune/%
vim/bundle/vimproc/autoload/vimproc_unix.so : vim/bundle/vimproc/autoload/proc.c
cd vim/bundle/vimproc && make
+$(INTO)/Maildir/.notmuch: notmuch
+ @[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak
+ $(LN) $(PWD)/$< $@
+
%.spl : %
@vim -u NONE -c':mkspell! $< | :q'