summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-03-02 01:28:07 -0500
committerJesse Luehrs <doy@tozt.net>2018-10-19 02:07:38 -0400
commitdb15d1eb06ff50c9fdbce98012f64b435566c18c (patch)
treef587afc2b22da94a90cc8f5a6b29a8c64b4775c3 /Makefile
parent78a6a52b61b53eeaa6e13074897917b6329b468c (diff)
downloadconf-db15d1eb06ff50c9fdbce98012f64b435566c18c.tar.gz
conf-db15d1eb06ff50c9fdbce98012f64b435566c18c.zip
generate passwords instead of storing them
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4edafa4..f78dd7c 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ INSTALL = agignore \
tigrc \
tmux.conf \
vimrc \
+ wunderground \
xbindkeysrc \
Xdefaults \
xinitrc \
@@ -78,7 +79,9 @@ BUILD = $(patsubst services/available/%,services/enabled/%,$(wildcard servic
$(addsuffix .dat,$(filter-out %.dat,$(wildcard fortune/*))) \
$(addsuffix tags,$(wildcard vim/pack/*/start/*/doc/)) \
vim/spell/en.utf-8.add.spl \
- less
+ less \
+ wunderground \
+ mpdscribble/mpdscribble.conf
ECHO = @echo
LN = @ln -sf
@@ -133,6 +136,12 @@ fortune/%.dat : fortune/%
less : lesskey
lesskey -o less lesskey
+wunderground :
+ pass show websites/wunderground.com/wunderground@tozt.net > $@
+
+mpdscribble/mpdscribble.conf : mpdscribble/mpdscribble.conf.tmpl
+ perl -E'while (<STDIN>) { if (/^password =/) { say "password = $$ARGV[0]" } else { print } }' "$$(pass show websites/last.fm/doyster)" < $< > $@
+
$(INTO)/Maildir/.notmuch: notmuch
mkdir -p $(INTO)/Maildir
@[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak