2005-06-18 07:58:59 +02:00
|
|
|
#
|
|
|
|
# The FreeBSD Russian Documentation Project
|
|
|
|
#
|
2009-12-23 14:39:06 +01:00
|
|
|
# $FreeBSD: www/ru/events/Makefile,v 1.4 2009/12/23 00:53:39 hrs Exp $
|
2005-06-18 07:58:59 +02:00
|
|
|
# $FreeBSDru: frdp/www/ru/events/Makefile,v 1.3 2005/06/18 06:00:21 andy Exp $
|
|
|
|
#
|
2009-12-22 05:46:25 +01:00
|
|
|
# Original revision: 1.17
|
2005-06-18 07:58:59 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
.if exists(../Makefile.conf)
|
|
|
|
.include "../Makefile.conf"
|
|
|
|
.endif
|
|
|
|
.if exists(../Makefile.inc)
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
2009-12-22 05:46:25 +01:00
|
|
|
#SUBDIR= 2002
|
|
|
|
SUBDIR+= 2003
|
|
|
|
|
|
|
|
# The year the top level events.html file starts from:
|
|
|
|
YEARSTART= 2009
|
|
|
|
# Years to generate past events pages for and link from top level:
|
|
|
|
PASTYEARS= 2008 2007 2006 2005 2004 2003
|
2005-06-18 07:58:59 +02:00
|
|
|
|
|
|
|
DATA= events.css
|
2009-12-22 05:46:25 +01:00
|
|
|
INDEXLINK= events.html
|
2005-06-18 07:58:59 +02:00
|
|
|
|
2009-12-22 05:46:25 +01:00
|
|
|
XMLDOCS+= events:../share/sgml/templates.events.xsl:${XML_EVENTS_EVENTS}:
|
|
|
|
PARAMS.events= --param startyear ${YEARSTART}
|
|
|
|
PARAMS.events+= --stringparam pastyears '${PASTYEARS}'
|
2006-08-19 23:26:51 +02:00
|
|
|
DEPENDSET.events= events
|
2005-06-18 07:58:59 +02:00
|
|
|
|
2009-12-22 05:46:25 +01:00
|
|
|
.for year in ${PASTYEARS}
|
|
|
|
XMLDOCS+= events${year}:${XSL_EVENTS_PAST}:${XML_EVENTS_EVENTS}:
|
|
|
|
PARAMS.events${year}= --param year ${year}
|
|
|
|
PARAMS.events${year}+= --stringparam pastyears '${PASTYEARS}'
|
|
|
|
DEPENDSET.events${year}= events${year}
|
|
|
|
.endfor
|
|
|
|
|
2006-08-19 23:26:51 +02:00
|
|
|
XMLDOCS+= events_ics:${XSL_EVENTS_ICS}:${XML_EVENTS_EVENTS}:events.ics
|
|
|
|
DEPENDSET.events_ics= events
|
2005-06-18 07:58:59 +02:00
|
|
|
|
2009-12-23 14:39:06 +01:00
|
|
|
XMLDOCS+= events_rss:rss.xsl:${XML_EVENTS_EVENTS}:rss.xml
|
2009-12-22 05:46:25 +01:00
|
|
|
|
2005-06-18 07:58:59 +02:00
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|