[open-ils-commits] r15457 - branches/rel_1_6/Open-ILS/src (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Feb 5 13:52:04 EST 2010


Author: dbs
Date: 2010-02-05 13:52:00 -0500 (Fri, 05 Feb 2010)
New Revision: 15457

Modified:
   branches/rel_1_6/Open-ILS/src/Makefile.am
Log:
Ensure target directory exists before creating links therein

Thanks to Warren Layton for spotting this in a fresh install


Modified: branches/rel_1_6/Open-ILS/src/Makefile.am
===================================================================
--- branches/rel_1_6/Open-ILS/src/Makefile.am	2010-02-05 17:48:48 UTC (rev 15456)
+++ branches/rel_1_6/Open-ILS/src/Makefile.am	2010-02-05 18:52:00 UTC (rev 15457)
@@ -287,14 +287,17 @@
 
 
 install-data-local:
+	$(MKDIR_P) $(DESTDIR)$(WEBDIR)/opac/common/js
 	for i in $(OPACJS); do \
 		cd $(DESTDIR)$(WEBDIR)/opac/common/js && \
 		rm -f `basename $$i` && $(LN_S) $$i . ; \
 	done
+	$(MKDIR_P) $(DESTDIR)$(WEBDIR)/js/dojo/opensrf
 	for i in $(JSDOJOSRF); do \
 		cd $(DESTDIR)$(WEBDIR)/js/dojo/opensrf && \
 		rm -f `basename $$i` && $(LN_S) $$i . ; \
 	done
+	$(MKDIR_P) $(DESTDIR)$(WEBDIR)/js/dojo
 	for i in $(JSDOJOSRF); do \
 		cd $(DESTDIR)$(WEBDIR)/js/dojo && \
 		rm -f `basename $$i` && $(LN_S) $$i . ; \



More information about the open-ils-commits mailing list