2012-05-17 21:12:14 +02:00
|
|
|
# $FreeBSD$
|
2003-12-16 22:39:05 +01:00
|
|
|
|
|
|
|
# The FreeBSD French Documentation Project
|
2004-02-29 14:20:40 +01:00
|
|
|
# Original revision: 1.107
|
2003-12-16 22:39:05 +01:00
|
|
|
|
2003-11-14 22:00:43 +01:00
|
|
|
.if exists(Makefile.conf)
|
|
|
|
.include "Makefile.conf"
|
|
|
|
.endif
|
|
|
|
.if exists(../Makefile.inc)
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
2003-12-16 22:39:05 +01:00
|
|
|
# These are turned into validated, normalized HTML files.
|
|
|
|
|
2012-10-01 11:53:01 +02:00
|
|
|
DOCS= about.xml
|
|
|
|
DOCS+= applications.xml
|
|
|
|
DOCS+= art.xml
|
|
|
|
DOCS+= auditors.xml
|
|
|
|
DOCS+= availability.xml
|
|
|
|
DOCS+= community.xml
|
|
|
|
DOCS+= docs.xml
|
|
|
|
DOCS+= features.xml
|
|
|
|
DOCS+= internet.xml
|
|
|
|
DOCS+= logo.xml
|
|
|
|
DOCS+= mailto.xml
|
|
|
|
DOCS+= publish.xml
|
|
|
|
DOCS+= relnotes.xml
|
|
|
|
DOCS+= send-pr.xml
|
|
|
|
DOCS+= support.xml
|
|
|
|
DOCS+= where.xml
|
2003-12-16 22:39:05 +01:00
|
|
|
|
|
|
|
# These will be directly installed.
|
|
|
|
|
|
|
|
DATA= favicon.ico
|
|
|
|
DATA+= robots.txt
|
|
|
|
DATA+= freebsd.css
|
|
|
|
DATA+= vendors.html
|
|
|
|
|
2003-11-14 22:00:43 +01:00
|
|
|
# Subdirectories
|
2012-10-06 19:52:37 +02:00
|
|
|
# XML
|
2003-12-16 22:39:05 +01:00
|
|
|
SUBDIR= security
|
|
|
|
SUBDIR+= commercial
|
2005-10-12 21:32:08 +02:00
|
|
|
SUBDIR+= community
|
2003-12-16 22:39:05 +01:00
|
|
|
SUBDIR+= docproj
|
2005-10-18 23:02:45 +02:00
|
|
|
SUBDIR+= docs
|
2003-12-16 22:39:05 +01:00
|
|
|
SUBDIR+= news
|
|
|
|
SUBDIR+= advocacy
|
|
|
|
|
2004-03-06 18:33:18 +01:00
|
|
|
SUBDIR+= events
|
2003-12-16 22:39:05 +01:00
|
|
|
SUBDIR+= FAQ
|
|
|
|
SUBDIR+= handbook
|
2004-04-06 13:41:18 +02:00
|
|
|
SUBDIR+= tutorials
|
2003-12-16 22:39:05 +01:00
|
|
|
SUBDIR+= internal
|
|
|
|
SUBDIR+= java
|
|
|
|
SUBDIR+= copyright
|
2005-11-02 22:39:11 +01:00
|
|
|
SUBDIR+= developers
|
2003-12-16 22:39:05 +01:00
|
|
|
SUBDIR+= search
|
|
|
|
SUBDIR+= projects
|
|
|
|
SUBDIR+= prstats
|
|
|
|
SUBDIR+= platforms
|
|
|
|
SUBDIR+= releases
|
|
|
|
SUBDIR+= releng
|
2005-12-30 23:16:41 +01:00
|
|
|
SUBDIR+= snapshots
|
2005-10-13 19:04:16 +02:00
|
|
|
SUBDIR+= support
|
2003-12-16 22:39:05 +01:00
|
|
|
SUBDIR+= gnome
|
|
|
|
SUBDIR+= donations
|
|
|
|
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
|
|
|
# SUBDIR+= ports
|
|
|
|
SUBDIR+= doc
|
|
|
|
.endif
|
|
|
|
.if defined(BUILD_RELNOTES)
|
2014-01-15 01:25:49 +01:00
|
|
|
#SUBDIR+= relnotes
|
2003-12-16 22:39:05 +01:00
|
|
|
.endif
|
|
|
|
|
2003-11-14 22:00:43 +01:00
|
|
|
WEBDIR?= data/fr
|
|
|
|
|
2003-12-16 22:39:05 +01:00
|
|
|
# index.html is special, and generated from index.xsl and news/news.xml
|
|
|
|
DATA+= index.html
|
|
|
|
CLEANFILES+= index.html
|
|
|
|
|
2012-05-17 05:23:15 +02:00
|
|
|
.include "${DOC_PREFIX}/share/mk/web.site.mk"
|
2003-12-16 22:39:05 +01:00
|
|
|
|
|
|
|
index.html: index.xsl ${XML_INCLUDES}\
|
2004-12-30 18:53:44 +01:00
|
|
|
${XML_NEWS_INCLUDES} \
|
|
|
|
${XML_NEWS_NEWS} ${XML_NEWS_NEWS_MASTER} \
|
|
|
|
${XML_NEWS_PRESS} ${XML_NEWS_PRESS_MASTER} \
|
2005-10-05 20:47:08 +02:00
|
|
|
${XML_EVENTS_EVENTS} ${XML_EVENTS_EVENTS_MASTER} ${XML_EVENTS_CURDATE} \
|
2004-12-30 18:53:44 +01:00
|
|
|
${XML_MIRRORS} ${XML_TRANSTABLE} \
|
2005-11-02 22:42:01 +01:00
|
|
|
${XML_ADVISORIES} ${XML_NOTICES}
|
2003-12-16 22:39:05 +01:00
|
|
|
${XSLTPROC} ${XSLTPROCOPTS} \
|
|
|
|
-o $@ \
|
|
|
|
--param mirrors.xml "'${XML_MIRRORS}'" \
|
|
|
|
--param advisories.xml "'${XML_ADVISORIES}'" \
|
2004-12-30 18:53:44 +01:00
|
|
|
--param news.press.xml-master "'${XML_NEWS_PRESS_MASTER}'" \
|
2003-12-16 22:39:05 +01:00
|
|
|
--param news.press.xml "'${XML_NEWS_PRESS}'" \
|
2004-12-30 18:53:44 +01:00
|
|
|
--param news.project.xml-master "'${XML_NEWS_NEWS_MASTER}'" \
|
2003-12-16 22:39:05 +01:00
|
|
|
--param news.project.xml "'${XML_NEWS_NEWS}'" \
|
2004-02-29 14:20:40 +01:00
|
|
|
--param transtable.xml "'${XML_TRANSTABLE}'" \
|
2005-10-05 20:47:08 +02:00
|
|
|
--param events.xml-master "'${XML_EVENTS_EVENTS_MASTER}'" \
|
|
|
|
--param events.xml "'${XML_EVENTS_EVENTS}'" \
|
|
|
|
--param curdate.xml "'${XML_EVENTS_CURDATE}'" \
|
2004-12-30 18:53:44 +01:00
|
|
|
--param notices.xml "'${XML_NOTICES}'" \
|
2005-10-05 20:47:08 +02:00
|
|
|
${.CURDIR}/index.xsl ${XML_NEWS_NEWS} ${XML_EVENTS_EVENTS} ${XML_EVENTS_CURDATE}
|