Makefile: build archive feeds with $maxitems=9999999

This commit is contained in:
Astro 2012-03-06 19:05:33 +01:00
parent e81598ac55
commit e6fff13329
1 changed files with 32 additions and 1 deletions

View File

@ -60,7 +60,11 @@ NEWS_PAGES:=$(patsubst content/news/%.xml, build/news/%.html, $(wildcard content
# News-Index und Feeds:
NEWSFILES:=build/news.html build/news-rss.xml build/news-atom.xml \
build/podcast.xml build/pentaradio.xml build/pentacast.xml build/pentamusic.xml build/pentamedia.xml \
build/ical.ics build/xcal.xml build/reminders build/datenspuren/$(DS_YEAR)/news-rss.xml build/datenspuren/$(DS_YEAR)/news-atom.xml
build/news-archive-rss.xml build/news-archive-atom.xml \
build/podcast-archive.xml build/pentaradio-archive.xml build/pentacast-archive.xml \
build/pentamusic-archive.xml build/pentamedia-archive.xml \
build/ical.ics build/xcal.xml build/reminders \
build/datenspuren/$(DS_YEAR)/news-rss.xml build/datenspuren/$(DS_YEAR)/news-atom.xml
PLAYLISTS:=$(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.xspf, $(wildcard content/news/pentaradio*.xml)) \
$(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.pls, $(wildcard content/news/pentaradio*.xml)) \
$(patsubst content/news/pentaradio%.xml, build/news/pentaradio%.m3u, $(wildcard content/news/pentaradio*.xml))
@ -107,28 +111,55 @@ build/news.html: $(WWW_CCC_DE_UPDATES) $(CALENDAR_SUMMARY) $(DATESTAMP)
build/news-rss.xml : STYLE=xsl/rss.xsl
build/news-rss.xml : PFLAGS+=--stringparam prefix ""
build/news-rss.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/news-archive-rss.xml : STYLE=xsl/rss.xsl
build/news-archive-rss.xml : PFLAGS+=--stringparam prefix ""
build/news-archive-rss.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/news-atom.xml : STYLE=xsl/atom.xsl
build/news-atom.xml : PFLAGS+=--stringparam prefix ""
build/news-atom.xml : VFLAGS_OUT=$(VFLAGS) --relaxng xsd/atom.rng
build/news-archive-atom.xml : STYLE=xsl/atom.xsl
build/news-archive-atom.xml : PFLAGS+=--stringparam prefix ""
build/news-archive-atom.xml : VFLAGS_OUT=$(VFLAGS) --relaxng xsd/atom.rng
build/podcast.xml : STYLE=xsl/podcast.xsl
build/podcast.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/podcast.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/podcast-archive.xml : STYLE=xsl/podcast.xsl
build/podcast-archive.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/podcast-archive.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentaradio.xml : STYLE=xsl/podcast.xsl
build/pentaradio.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentaradio.xml : PFLAGS+=--stringparam selection pentaradio
build/pentaradio.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentaradio-archive.xml : STYLE=xsl/podcast.xsl
build/pentaradio-archive.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentaradio-archive.xml : PFLAGS+=--stringparam selection pentaradio
build/pentaradio-archive.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentacast.xml : STYLE=xsl/podcast.xsl
build/pentacast.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentacast.xml : PFLAGS+=--stringparam selection pentacast
build/pentacast.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentacast-archive.xml : STYLE=xsl/podcast.xsl
build/pentacast-archive.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentacast-archive.xml : PFLAGS+=--stringparam selection pentacast
build/pentacast-archive.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentamusic.xml : STYLE=xsl/podcast.xsl
build/pentamusic.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentamusic.xml : PFLAGS+=--stringparam selection pentamusic
build/pentamusic.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentamusic-archive.xml : STYLE=xsl/podcast.xsl
build/pentamusic-archive.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentamusic-archive.xml : PFLAGS+=--stringparam selection pentamusic
build/pentamusic-archive.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentamedia.xml : STYLE=xsl/podcast.xsl
build/pentamedia.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentamedia.xml : PFLAGS+=--stringparam selection pentamedia
build/pentamedia.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/pentamedia-archive.xml : STYLE=xsl/podcast.xsl
build/pentamedia-archive.xml : VFLAGS_OUT=$(VFLAGS) --schema xsd/rss20.xsd
build/pentamedia-archive.xml : PFLAGS+=--stringparam selection pentamedia
build/pentamedia-archive.xml: xsl/podcast.xsl # Does not work with $(STYLE) - why?
build/%-archive.xml build/news-archive-%.xml : PFLAGS+=--stringparam maxitems 9999999
#.INTERMEDIATE: news.xml
news.xml: $(NEWSITEMS)