diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-02-14 10:39:03 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-02-14 10:43:23 -0600 |
commit | 32460c706dab636b1df0c7a664d42e6b0e9f6075 (patch) | |
tree | 32efdef91c5f863bed812e663c9e86d3c72b574c /Makefile | |
parent | 67349c889e35b93041552f73b216b8047817804f (diff) | |
download | conf-32460c706dab636b1df0c7a664d42e6b0e9f6075.tar.gz conf-32460c706dab636b1df0c7a664d42e6b0e9f6075.zip |
have the makefile create important empty dirs on install
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -48,6 +48,8 @@ INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL)) BUILD = bin/nethack/timettyrec pwsafe.dat $(addsuffix .dat,$(filter-out %.dat,$(wildcard fortune/*))) +EMPTYDIRS = .log .vim/undo .vim/yankring-data + ECHO = @echo LN = @ln -sf MKDIR = @mkdir -p @@ -56,7 +58,7 @@ RM = @rm -f build : $(BUILD) install : build $(INSTALLED) /var/spool/cron/$(USER) - $(MKDIR) .log + @for dir in $(EMPTYDIRS); do mkdir -p $(INTO)/$$dir; done $(ECHO) Installed into $(HOME) clean : |