mirror of https://github.com/dirtbags/moth.git
More fixes for cross-compile
This commit is contained in:
parent
53609263e6
commit
81915155a5
2
Makefile
2
Makefile
|
@ -61,7 +61,7 @@ install: $(INSTALL_TARGETS)
|
||||||
cp -r www/* $(DESTDIR)$(WWW)
|
cp -r www/* $(DESTDIR)$(WWW)
|
||||||
cp template.html $(DESTDIR)$(LIB)
|
cp template.html $(DESTDIR)$(LIB)
|
||||||
|
|
||||||
install --directory $(VAR)/disabled
|
install --directory $(DESTDIR)$(VAR)/disabled
|
||||||
|
|
||||||
$(PYTHON) setup.py install --prefix=$(BASE)
|
$(PYTHON) setup.py install --prefix=$(BASE)
|
||||||
|
|
||||||
|
|
|
@ -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_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:
|
||||||
|
|
||||||
mdwn-install: $(MDWN_OUT)
|
mdwn-install: $(MDWN_OUT)
|
||||||
|
|
||||||
$(WWW)/%.html: $(MDWN_DIR)/src/%.mdwn
|
$(DESTDIR)$(WWW)/%.html: $(MDWN_DIR)/src/%.mdwn
|
||||||
install -d $(@D)
|
install -d $(@D)
|
||||||
$(MDWNTOHTML) $< $@
|
$(MDWNTOHTML) $< $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue