2001-02-25 12:54:42 +01:00
|
|
|
# The FreeBSD Documentation Project
|
|
|
|
# The FreeBSD German Documentation Project
|
2005-01-25 23:40:09 +01:00
|
|
|
# $FreeBSD$
|
2005-09-19 18:55:28 +02:00
|
|
|
# $FreeBSDde: de-www/Makefile,v 1.30 2005/09/18 10:33:53 jkois Exp $
|
|
|
|
# basiert auf: 1.124
|
2001-02-25 12:54:42 +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.
|
|
|
|
|
2003-08-10 21:51:58 +02:00
|
|
|
DOCS= applications.sgml
|
2001-02-25 12:54:42 +01:00
|
|
|
DOCS+= availability.sgml
|
2004-12-18 14:10:22 +01:00
|
|
|
DOCS+= docs.sgml
|
2003-08-10 21:51:58 +02:00
|
|
|
DOCS+= features.sgml
|
|
|
|
DOCS+= internet.sgml
|
|
|
|
DOCS+= mailto.sgml
|
2002-12-08 17:46:17 +01:00
|
|
|
DOCS+= relnotes.sgml
|
2005-08-25 17:37:32 +02:00
|
|
|
DOCS+= support.sgml
|
2003-08-10 21:51:58 +02:00
|
|
|
DOCS+= where.sgml
|
2001-02-25 12:54:42 +01:00
|
|
|
|
|
|
|
# These will be directly installed.
|
|
|
|
|
2003-08-10 21:51:58 +02:00
|
|
|
#DATA= favicon.ico
|
|
|
|
#DATA+= robots.txt
|
|
|
|
#DATA+= freebsd.css
|
|
|
|
#DATA+= vendors.html
|
2001-02-25 12:54:42 +01:00
|
|
|
|
|
|
|
# Subdirectories
|
|
|
|
# SGML
|
2003-08-10 21:51:58 +02:00
|
|
|
SUBDIR= news
|
|
|
|
SUBDIR+= FAQ
|
2002-12-06 22:57:48 +01:00
|
|
|
SUBDIR+= handbook
|
2003-10-23 23:07:27 +02:00
|
|
|
SUBDIR+= platforms
|
2005-03-15 00:02:55 +01:00
|
|
|
SUBDIR+= projects
|
2002-12-08 17:46:17 +01:00
|
|
|
SUBDIR+= releases
|
2004-01-11 01:32:03 +01:00
|
|
|
SUBDIR+= security
|
2002-12-06 22:57:48 +01:00
|
|
|
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
2003-08-10 21:51:58 +02:00
|
|
|
#SUBDIR+= ports
|
2002-12-06 22:57:48 +01:00
|
|
|
SUBDIR+= doc
|
|
|
|
.endif
|
2002-12-08 21:30:11 +01:00
|
|
|
.if defined(BUILD_RELNOTES)
|
|
|
|
SUBDIR+= relnotes
|
|
|
|
.endif
|
2002-12-08 17:46:17 +01:00
|
|
|
|
2003-08-10 21:51:58 +02:00
|
|
|
# Non-SGML
|
|
|
|
SUBDIR+= gifs
|
|
|
|
|
|
|
|
WEBDIR?= data/de
|
|
|
|
|
2005-09-19 18:55:28 +02:00
|
|
|
# these files are generated by using separate rules.
|
|
|
|
DATA+= index.html
|
|
|
|
CLEANFILES+= index.html
|
2003-08-10 21:51:58 +02:00
|
|
|
|
2001-02-25 12:54:42 +01:00
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
2003-12-23 02:27:01 +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} \
|
2004-07-15 16:34:20 +02:00
|
|
|
${XML_MIRRORS} ${XML_TRANSTABLE} \
|
|
|
|
${XML_ADVISORIES} ${XML_NOTICES} \
|
|
|
|
${XML_NAVIGATION}
|
2003-12-23 02:27:01 +01:00
|
|
|
${XSLTPROC} ${XSLTPROCOPTS} \
|
|
|
|
-o $@ \
|
|
|
|
--param advisories.xml "'${XML_ADVISORIES}'" \
|
2005-01-25 23:40:09 +01:00
|
|
|
--param mirrors.xml "'${XML_MIRRORS}'" \
|
|
|
|
--param navigation.xml "'${XML_NAVIGATION}'" \
|
2004-12-30 18:53:44 +01:00
|
|
|
--param news.press.xml-master "'${XML_NEWS_PRESS_MASTER}'" \
|
2004-01-03 15:21:33 +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}'" \
|
2004-01-03 15:21:33 +01:00
|
|
|
--param news.project.xml "'${XML_NEWS_NEWS}'" \
|
2005-01-25 23:40:09 +01:00
|
|
|
--param notices.xml "'${XML_NOTICES}'" \
|
2004-05-15 14:39:09 +02:00
|
|
|
--param transtable.xml "'${XML_TRANSTABLE}'" \
|
2003-12-23 02:27:01 +01:00
|
|
|
${.CURDIR}/index.xsl ${XML_NEWS_NEWS}
|
|
|
|
.if !defined(NO_TIDY)
|
|
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
|
|
.endif
|