diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-10-29 01:12:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-10-29 01:12:30 -0400 |
commit | 2dc29dd7f07dbb6f4acbdb3474c921fed8f928b6 (patch) | |
tree | c16022113271b6efa04aecff245266f8e074eb6a /Makefile | |
parent | 97a00dd9330d5134f516afb9c7e3922550810eee (diff) | |
download | conf-2dc29dd7f07dbb6f4acbdb3474c921fed8f928b6.tar.gz conf-2dc29dd7f07dbb6f4acbdb3474c921fed8f928b6.zip |
always autocreate the base path when installing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -70,9 +70,7 @@ EMPTYDIRS := \ .cache/mpd \ .cache/vim/hist \ .cache/vim/undo \ - .config/mpd/playlists \ - .config/alacritty \ - .config/touchegg + .config/mpd/playlists INSTALLED := \ $(patsubst %,$(INTO)/%,$(EMPTYDIRS) $(INSTALL)) \ @@ -131,14 +129,15 @@ $(patsubst %,$(INTO)/%,$(EMPTYDIRS)) : $(patsubst %,$(INTO)/%,$(INSTALL)) : $(INTO)/.% : % @[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak + $(MKDIR) $(notdir $@) $(LN) $(PWD)/$< $@ /var/spool/cron/$(USER) : crontab @crontab $< $(INTO)/Maildir/.notmuch: notmuch - $(MKDIR) $(INTO)/Maildir @[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak + $(MKDIR) $(INTO)/Maildir $(LN) $(PWD)/$< $@ # build targets |