[open-ils-commits] r15456 - branches/rel_1_6_0/Open-ILS/src (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Feb 5 12:48:52 EST 2010


Author: dbs
Date: 2010-02-05 12:48:48 -0500 (Fri, 05 Feb 2010)
New Revision: 15456

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


Modified: branches/rel_1_6_0/Open-ILS/src/Makefile.am
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/Makefile.am	2010-02-05 16:34:26 UTC (rev 15455)
+++ branches/rel_1_6_0/Open-ILS/src/Makefile.am	2010-02-05 17:48:48 UTC (rev 15456)
@@ -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