Commit 23d4fbc2 authored by Xavier Bachelot's avatar Xavier Bachelot
Browse files

Make use of --with-cssdir and --with-picturesdir at install time

parent d8533f52
......@@ -414,8 +414,15 @@ EXTRA_DIST = $(nobase_static_DATA)
install-data-hook:
cd $(DESTDIR)$(staticdir); \
rm -f external/foundation/js/vendor/jquery.js
@echo "Creating static_content directory"
-@for dir in $(staticdir); do \
if [ ! -d $(DESTDIR)$$dir ] ; then \
echo "Creating $(DESTDIR)$$dir"; \
$(INSTALL) -d -m 644 $(DESTDIR)$$dir; \
fi; \
done
@echo "Creating writable directories"
-@for dir in $(staticdir)/css $(staticdir)/pictures; do \
-@for dir in $(cssdir) $(picturesdir); do \
if [ ! -d $(DESTDIR)$$dir ] ; then \
echo "Creating $(DESTDIR)$$dir"; \
$(INSTALL) -d -m 755 $(DESTDIR)$$dir; \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment