From 97a00dd9330d5134f516afb9c7e3922550810eee Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 29 Oct 2018 01:00:11 -0400 Subject: also conditionalize this build step --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 () { if (/^password =/) { say "password = $$ARGV[0]" } else { print } }' "$$(pass show websites/last.fm/doyster)" < $< > $@ + [ -e ~/.password-store ] && perl -E'while () { if (/^password =/) { say "password = $$ARGV[0]" } else { print } }' "$$(pass show websites/last.fm/doyster)" < $< > $@ || touch $@ -- cgit v1.2.3-54-g00ecf