# HG changeset patch # User nenolod # Date 1141022413 28800 # Node ID d108cc745b64f251de46d5f85b63c92efc13ca29 # Parent 78e3429bf77b7884ad0f02b568a509f0d708458d [svn] - create directories that aren't there in the install phase diff -r 78e3429bf77b -r d108cc745b64 mk/objective.mk --- 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; \