summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-29 01:00:11 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-29 01:00:11 -0400
commit97a00dd9330d5134f516afb9c7e3922550810eee (patch)
treeb97e17f3497d975f660a6d5a2b37c1657b95fc9a /Makefile
parent15ebc14a1f9d962fd0640a14fc13ef2872b9b1b5 (diff)
downloadconf-97a00dd9330d5134f516afb9c7e3922550810eee.tar.gz
conf-97a00dd9330d5134f516afb9c7e3922550810eee.zip
also conditionalize this build step
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0af6c0e..748fa8a 100644
--- a/Makefile
+++ b/Makefile
@@ -164,4 +164,4 @@ wunderground :
[ -e ~/.password-store ] && pass show websites/wunderground.com/wunderground@tozt.net > $@ || touch $@
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)" < $< > $@
+ [ -e ~/.password-store ] && perl -E'while (<STDIN>) { if (/^password =/) { say "password = $$ARGV[0]" } else { print } }' "$$(pass show websites/last.fm/doyster)" < $< > $@ || touch $@