diff options
Diffstat (limited to 'Makefile.hush')
-rw-r--r-- | Makefile.hush | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/Makefile.hush b/Makefile.hush deleted file mode 100644 index 972d92f..0000000 --- a/Makefile.hush +++ /dev/null @@ -1,67 +0,0 @@ -INSTALL := \ - .config/alacritty/alacritty.yml \ - .config/darksky/api \ - .config/i3/browser-workspace.json \ - .config/i3/config \ - .config/i3/signal-workspace.json \ - .config/i3/terminal-workspace.json \ - .config/i3status/config \ - .config/msmtp/config \ - .config/offlineimap/config \ - .config/offlineimap/pass.py \ - .config/perspektiv/config.toml \ - .config/touchegg/touchegg.conf \ - .gnupg/gpg.conf \ - .gnupg/gpg-agent.conf \ - .notmuch-config \ - .xbindkeysrc \ - .Xdefaults \ - .xinitrc \ - .xprofile \ - .Xmodmap \ - .mpdscribble \ - $(patsubst %,.%,$(wildcard services/available/*/run)) \ - $(patsubst %,.%,$(wildcard services/available/*/log/run)) - -EMPTYDIRS := \ - $(patsubst services/available/%,.log/%,$(wildcard services/available/*)) \ - Maildir \ - .cache/mpd \ - .config/mpd/playlists - -INSTALL_CUSTOM := \ - $(patsubst services/available/%,$(INTO)/.services/enabled/%,$(wildcard services/available/*)) \ - /var/spool/cron/$(USER) \ - $(INTO)/Maildir/.notmuch/hooks/post-new - -BUILD := \ - config/alacritty/alacritty.yml \ - mpdscribble/mpdscribble.conf - -install :: - @chmod 600 config/msmtp/config - -clean :: - @crontab -r - -/var/spool/cron/$(USER) : crontab - @crontab $< - -$(INTO)/Maildir/.notmuch/hooks/post-new: notmuch/hooks/post-new - @[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak - $(MKDIR) $(INTO)/Maildir/.notmuch/hooks - $(LN) $(PWD)/$< $@ - -$(INTO)/.services/enabled/% : services/available/% - $(MKDIR) $(dir $<) - $(LN) ../available/$(notdir $<) $@ - -config/alacritty/alacritty.yml : config/alacritty/alacritty.yml.hush - $(LN) $(notdir $<) $@ - -config/darksky/api : - pass show websites/darksky.net/api > $@ - -mpdscribble/mpdscribble.conf : mpdscribble/mpdscribble.conf.tmpl - pass="$$(pass show websites/last.fm/doyster)" &&\ - perl -E'while (<STDIN>) { if (/^password =/) { say "password = $$ARGV[0]" } else { print } }' "$$pass" < $< > $@ |