comparison GNUmakefile @ 47:0b218409e2e7

Merged targets for creating past years news.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 03 Oct 2011 06:54:08 +0000
parents 61564cf3d4d2
children 28acb1a609cb
comparison
equal deleted inserted replaced
46:f13ce54a5909 47:0b218409e2e7
127 $(NEWS_DEPS) \ 127 $(NEWS_DEPS) \
128 xslt/rss.xslt 128 xslt/rss.xslt
129 $(call XSLT, xslt/rss.xslt, $<, $@) 129 $(call XSLT, xslt/rss.xslt, $<, $@)
130 130
131 131
132 $(OUT)/2010.html: \ 132 $(OUT)/2010.html \
133 xml/index.xml \
134 $(NEWS_DEPS)
135 $(call XSLT, xslt/news.xslt, $<, $@, YEAR=2010)
136
137
138 $(OUT)/2009.html: \ 133 $(OUT)/2009.html: \
139 xml/index.xml \ 134 xml/index.xml \
140 $(NEWS_DEPS) 135 $(NEWS_DEPS)
141 $(call XSLT, xslt/news.xslt, $<, $@, YEAR=2009) 136 $(call XSLT, xslt/news.xslt, $<, $@, YEAR=$(basename $(notdir $@)))
142 137
143 $(OUT)/404.html: \ 138 $(OUT)/404.html: \
144 xml/404.xml \ 139 xml/404.xml \
145 xml/menu.xml \ 140 xml/menu.xml \
146 dtd/article.dtd \ 141 dtd/article.dtd \