Mercurial > audlegacy
changeset 723:d108cc745b64 trunk
[svn] - create directories that aren't there in the install phase
author | nenolod |
---|---|
date | Sun, 26 Feb 2006 22:40:13 -0800 |
parents | 78e3429bf77b |
children | cee582b99770 |
files | mk/objective.mk |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mk/objective.mk Sun Feb 26 20:47:43 2006 -0800 +++ b/mk/objective.mk Sun Feb 26 22:40:13 2006 -0800 @@ -58,6 +58,9 @@ for i in $(OBJECTIVE_DATA); do \ source=`echo $$i | cut -d ":" -f1`; \ destination=`echo $$i | cut -d ":" -f2`; \ + if test ! -d $(DESTDIR)/$$destination; then \ + $(INSTALL) -d -m 755 $(DESTDIR)/$$destination; \ + fi; \ printf "%10s %-20s\n" INSTALL $$source; \ $(INSTALL_DATA) $(INSTALL_OVERRIDE) $$source $(DESTDIR)/$$destination; \ done; \