2005-11-01 15:18:01 +01:00
|
|
|
# $FreeBSD: www/it/Makefile,v 1.11 2005/10/31 14:24:16 ale Exp $
|
2003-03-20 01:10:51 +01:00
|
|
|
.if exists(Makefile.conf)
|
|
|
|
.include "Makefile.conf"
|
|
|
|
.endif
|
|
|
|
.if exists(../Makefile.inc)
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# These are turned into validated, normalized HTML files.
|
|
|
|
|
2005-10-06 16:27:51 +02:00
|
|
|
DOCS= about.sgml
|
2005-10-15 15:09:16 +02:00
|
|
|
DOCS+= community.sgml
|
2005-10-06 16:27:51 +02:00
|
|
|
DOCS+= docs.sgml
|
2003-12-13 11:56:11 +01:00
|
|
|
DOCS+= mailto.sgml
|
2005-10-15 15:09:16 +02:00
|
|
|
DOCS+= support.sgml
|
|
|
|
DOCS+= where.sgml
|
2003-03-20 01:10:51 +01:00
|
|
|
|
|
|
|
# Subdirectories
|
|
|
|
# SGML
|
2005-10-15 15:09:16 +02:00
|
|
|
SUBDIR= copyright
|
|
|
|
SUBDIR+= docs
|
|
|
|
SUBDIR+= platforms
|
2005-10-06 16:27:51 +02:00
|
|
|
SUBDIR+= releases
|
2003-03-20 01:10:51 +01:00
|
|
|
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
2004-01-14 15:29:03 +01:00
|
|
|
SUBDIR+= doc
|
2003-03-20 01:10:51 +01:00
|
|
|
.endif
|
|
|
|
|
2003-11-10 01:14:49 +01:00
|
|
|
WEBDIR?= data/it
|
2003-03-20 01:10:51 +01:00
|
|
|
|
|
|
|
# index.html is special, and generated from index.xsl and news/news.xml
|
|
|
|
DATA+= index.html
|
|
|
|
CLEANFILES+= index.html
|
|
|
|
|
2003-12-13 11:56:11 +01:00
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
|
|
|
|
|
|
|
index.html: index.xsl ${XML_INCLUDES} \
|
2005-01-08 12:53:24 +01:00
|
|
|
${XML_NEWS_INCLUDES_MASTER} \
|
|
|
|
${XML_NEWS_NEWS_MASTER} ${XML_NEWS_PRESS_MASTER} \
|
2005-10-06 16:27:51 +02:00
|
|
|
${XML_EVENTS_EVENTS_MASTER} ${XML_EVENTS_CURDATE} \
|
2004-07-02 09:35:23 +02:00
|
|
|
${XML_MIRRORS} ${XML_TRANSTABLE} \
|
2005-11-01 15:18:01 +01:00
|
|
|
${XML_ADVISORIES} ${XML_NOTICES}
|
2003-12-13 11:56:11 +01:00
|
|
|
${XSLTPROC} ${XSLTPROCOPTS} \
|
|
|
|
-o $@ \
|
|
|
|
--param advisories.xml "'${XML_ADVISORIES}'" \
|
2005-10-06 16:27:51 +02:00
|
|
|
--param curdate.xml "'${XML_EVENTS_CURDATE}'" \
|
|
|
|
--param events.xml "'${XML_EVENTS_EVENTS_MASTER}'" \
|
2005-01-08 12:53:24 +01:00
|
|
|
--param mirrors.xml "'${XML_MIRRORS}'" \
|
2003-12-13 11:56:11 +01:00
|
|
|
--param news.press.xml "'${XML_NEWS_PRESS_MASTER}'" \
|
|
|
|
--param news.project.xml "'${XML_NEWS_NEWS_MASTER}'" \
|
2005-01-08 12:53:24 +01:00
|
|
|
--param notices.xml "'${XML_NOTICES}'" \
|
2004-01-14 12:11:14 +01:00
|
|
|
--param transtable.xml "'${XML_TRANSTABLE}'" \
|
2003-12-13 11:56:11 +01:00
|
|
|
${.CURDIR}/index.xsl ${XML_NEWS_NEWS_MASTER}
|
2003-03-20 01:10:51 +01:00
|
|
|
.if !defined(NO_TIDY)
|
|
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
|
|
.endif
|