2012-05-17 21:12:14 +02:00
|
|
|
# $FreeBSD$
|
2002-03-25 05:23:42 +01:00
|
|
|
|
|
|
|
.if exists(../Makefile.conf)
|
|
|
|
.include "../Makefile.conf"
|
|
|
|
.endif
|
|
|
|
.if exists(../Makefile.inc)
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
2004-04-06 13:36:12 +02:00
|
|
|
SUBDIR= 2002
|
|
|
|
SUBDIR+= 2003
|
2002-03-26 09:11:53 +01:00
|
|
|
|
2008-06-23 01:18:55 +02:00
|
|
|
# The year the top level events.html file starts from:
|
2017-12-31 19:19:30 +01:00
|
|
|
YEARSTART= 2018
|
2008-06-23 01:18:55 +02:00
|
|
|
# Years to generate past events pages for and link from top level:
|
2017-12-31 19:19:30 +01:00
|
|
|
PASTYEARS= 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003
|
2008-06-23 01:18:55 +02:00
|
|
|
|
2004-04-06 13:36:12 +02:00
|
|
|
DATA= events.css
|
2007-09-18 17:23:05 +02:00
|
|
|
INDEXLINK= events.html
|
2004-04-06 13:36:12 +02:00
|
|
|
|
2006-08-19 23:20:54 +02:00
|
|
|
XMLDOCS+= events:${XSL_EVENTS}:${XML_EVENTS_EVENTS}:
|
2008-06-23 01:18:55 +02:00
|
|
|
PARAMS.events= --param startyear ${YEARSTART}
|
|
|
|
PARAMS.events+= --stringparam pastyears '${PASTYEARS}'
|
2006-08-19 23:20:54 +02:00
|
|
|
DEPENDSET.events= events
|
2003-10-12 19:24:21 +02:00
|
|
|
|
2008-06-23 01:18:55 +02:00
|
|
|
.for year in ${PASTYEARS}
|
|
|
|
XMLDOCS+= events${year}:${XSL_EVENTS_PAST}:${XML_EVENTS_EVENTS}:
|
|
|
|
PARAMS.events${year}= --param year ${year}
|
2008-12-15 03:50:38 +01:00
|
|
|
PARAMS.events${year}+= --stringparam pastyears '${PASTYEARS}'
|
2010-01-19 21:29:00 +01:00
|
|
|
DEPENDSET.events${year}= events
|
2008-06-23 01:18:55 +02:00
|
|
|
.endfor
|
|
|
|
|
2006-08-19 23:20:54 +02:00
|
|
|
XMLDOCS+= events_ics:${XSL_EVENTS_ICS}:${XML_EVENTS_EVENTS}:events.ics
|
|
|
|
DEPENDSET.events_ics= events
|
2005-10-05 06:55:34 +02:00
|
|
|
|
2008-01-16 08:46:21 +01:00
|
|
|
XMLDOCS+= events_rss:rss.xsl:${XML_EVENTS_EVENTS}:rss.xml
|
|
|
|
|
2012-05-17 05:23:15 +02:00
|
|
|
.include "${DOC_PREFIX}/share/mk/web.site.mk"
|