Commit 04cecbac authored by Leigh Stoller's avatar Leigh Stoller

Fix up target for WWW install so that pix directory is handled

correctly.
parent 77c908b5
......@@ -35,11 +35,6 @@ $(INSTALL_ETCDIR)/%: %
-mkdir -p $(INSTALL_ETCDIR)
$(INSTALL_DATA) $< $@
$(INSTALL_WWWDIR)/%: %
@echo "Installing $<"
-mkdir -p $(INSTALL_WWWDIR)
$(INSTALL_DATA) $< $@
CFLAGS += $(LOCALCFLAGS)
clean:
......
......@@ -35,9 +35,7 @@ ALLPIXES = $(notdir $(PIXFILES))
install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
$(addprefix $(INSTALL_WWWDIR)/pix/, $(ALLPIXES))
$(INSTALL_WWWDIR)/pix/%: %
$(INSTALL_WWWDIR)/%: %
@echo "Installing $<"
-mkdir -p $(INSTALL_WWWDIR)/pix
-mkdir -p $(patsubst %/,%,$(dir $@))
$(INSTALL_DATA) $< $@
Markdown is supported
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