summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-25 11:03:27 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-25 13:27:23 -0400
commitcf0423854ef0b83b0f172b14fb12e2a17c1b1f79 (patch)
tree31efe896ad2a699a4b098d7b3a4986f26d24d1ea /Makefile
parent817d4074b67a6075341f0249b505a99ba2154562 (diff)
downloadconf-cf0423854ef0b83b0f172b14fb12e2a17c1b1f79.tar.gz
conf-cf0423854ef0b83b0f172b14fb12e2a17c1b1f79.zip
make sure that permissions are always set properly
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5c61b58..9979ed0 100644
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,8 @@ build : $(BUILD)
install : build $(INSTALLED) /var/spool/cron/$(USER) $(INTO)/Maildir/.notmuch
@for dir in $(EMPTYDIRS); do mkdir -p $(INTO)/$$dir; done
+ @chmod 600 msmtprc
+ @chmod 700 gnupg
$(ECHO) Installed into $(INTO)
clean :
@@ -113,11 +115,6 @@ $(INTO)/Maildir/.notmuch: notmuch
@[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak
$(LN) $(PWD)/$< $@
-$(INTO)/.msmtprc: msmtprc
- @[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak
- $(LN) $(PWD)/$< $@
- @chmod 600 $(PWD)/$<
-
%.spl : %
@vim -u NONE -c':mkspell! $< | :q'