More fixes for cross-compile

This commit is contained in:
Neale Pickett 2010-05-15 17:21:47 -06:00
parent 53609263e6
commit 81915155a5
2 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ install: $(INSTALL_TARGETS)
cp -r www/* $(DESTDIR)$(WWW)
cp template.html $(DESTDIR)$(LIB)
install --directory $(VAR)/disabled
install --directory $(DESTDIR)$(VAR)/disabled
$(PYTHON) setup.py install --prefix=$(BASE)

View File

@ -4,13 +4,13 @@ MDWN_SRC += $(wildcard $(MDWN_DIR)/src/*.mdwn)
MDWN_SRC += $(wildcard $(MDWN_DIR)/src/*/*.mdwn)
MDWN_SRC += $(wildcard $(MDWN_DIR)/src/*/*/*.mdwn)
MDWN_OUT = $(subst $(MDWN_DIR)/src/, $(WWW)/, $(MDWN_SRC:.mdwn=.html))
MDWN_OUT = $(subst $(MDWN_DIR)/src/, $(DESTDIR)$(WWW)/, $(MDWN_SRC:.mdwn=.html))
mdwn:
mdwn-install: $(MDWN_OUT)
$(WWW)/%.html: $(MDWN_DIR)/src/%.mdwn
$(DESTDIR)$(WWW)/%.html: $(MDWN_DIR)/src/%.mdwn
install -d $(@D)
$(MDWNTOHTML) $< $@