Added forgotten changes to makefile
This commit is contained in:
parent
993793018e
commit
93a880a94f
8
Makefile
8
Makefile
|
@ -55,7 +55,7 @@ prepare_output:
|
|||
#
|
||||
|
||||
$(HTML_OUTPUT)/%.html: $(PAGES_DIR)/%.xml
|
||||
$(call page2html, $<, content/c3d2 content/c3d2/pages) > $@
|
||||
$(call page2html, $<, content/c3d2 content/c3d2/templates content/c3d2/pages) > $@
|
||||
|
||||
|
||||
#
|
||||
|
@ -63,7 +63,7 @@ $(HTML_OUTPUT)/%.html: $(PAGES_DIR)/%.xml
|
|||
#
|
||||
|
||||
$(HTML_OUTPUT)/kalender.html: $(PAGE_OUTPUT)/kalender.xml
|
||||
$(call page2html, $(PAGE_OUTPUT)/kalender.xml, content/c3d2 content/c3d2/pages) > $@
|
||||
$(call page2html, $(PAGE_OUTPUT)/kalender.xml, content/c3d2 content/c3d2/templates content/c3d2/pages) > $@
|
||||
|
||||
$(PAGE_OUTPUT)/kalender.xml: $(PAGE_OUTPUT)/news.xml
|
||||
# First tranformation to unite calendar-only events and news items
|
||||
|
@ -89,7 +89,7 @@ $(PAGE_OUTPUT)/items/%.xml: $(ITEMS_DIR)/%.xml
|
|||
# Transform the pages representing news items into HTML
|
||||
$(HTML_OUTPUT)/news/%.html: $(PAGE_OUTPUT)/items/%.xml
|
||||
mkdir -p $(HTML_OUTPUT)/news/
|
||||
$(call page2html, $<, content/c3d2 content/c3d2/pages) > $@
|
||||
$(call page2html, $<, content/c3d2 content/c3d2/templates content/c3d2/pages) > $@
|
||||
|
||||
# Generate a list of all news items
|
||||
# stored within $(ITEMS_DIR).
|
||||
|
@ -102,7 +102,7 @@ $(PAGE_OUTPUT)/news.xml: $(NEWS_OUTPUT)/news-list.xml
|
|||
|
||||
# Transform the news page into HTML
|
||||
$(HTML_OUTPUT)/news.html: $(PAGE_OUTPUT)/news.xml
|
||||
$(call page2html, output/page/news.xml , $(PAGE_OUTPUT) content/c3d2 content/c3d2/pages) > $(HTML_OUTPUT)/news.html
|
||||
$(call page2html, output/page/news.xml , $(PAGE_OUTPUT) content/c3d2 content/c3d2/templates content/c3d2/pages) > $(HTML_OUTPUT)/news.html
|
||||
|
||||
clean:
|
||||
rm -rf $(NEWS_OUTPUT)/* $(PAGE_OUTPUT)/* $(HTML_OUTPUT)/*
|
||||
|
|
Loading…
Reference in New Issue