comparison GNUmakefile @ 307:dff45e92da4b

Generate 2011.html but don't link it to the menu yet.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 03 Jan 2012 22:31:41 +0000
parents 7e464158471f
children c0fef00f71fb
comparison
equal deleted inserted replaced
306:7696139f19e8 307:dff45e92da4b
107 LANGS = en ja he ru tr 107 LANGS = en ja he ru tr
108 108
109 all: news arx 404 $(LANGS) 109 all: news arx 404 $(LANGS)
110 110
111 news: $(OUT)/index.html $(OUT)/index.rss 111 news: $(OUT)/index.html $(OUT)/index.rss
112 arx: $(OUT)/2010.html $(OUT)/2009.html 112 arx: $(OUT)/2011.html $(OUT)/2010.html $(OUT)/2009.html
113 404: $(OUT)/404.html 113 404: $(OUT)/404.html
114 114
115 115
116 include $(foreach lang, $(LANGS), xml/$(lang)/GNUmakefile) 116 include $(foreach lang, $(LANGS), xml/$(lang)/GNUmakefile)
117 117
126 $(NEWS_DEPS) \ 126 $(NEWS_DEPS) \
127 xslt/rss.xslt 127 xslt/rss.xslt
128 $(call XSLT, xslt/rss.xslt, $<, $@) 128 $(call XSLT, xslt/rss.xslt, $<, $@)
129 129
130 130
131 $(OUT)/2011.html \
131 $(OUT)/2010.html \ 132 $(OUT)/2010.html \
132 $(OUT)/2009.html: \ 133 $(OUT)/2009.html: \
133 xml/index.xml \ 134 xml/index.xml \
134 $(NEWS_DEPS) 135 $(NEWS_DEPS)
135 $(call XSLT, xslt/news.xslt, $<, $@, YEAR=$(basename $(notdir $@))) 136 $(call XSLT, xslt/news.xslt, $<, $@, YEAR=$(basename $(notdir $@)))