# The FreeBSD Documentation Project
# The FreeBSD German Documentation Project
# $FreeBSD$
# $FreeBSDde: de-www/Makefile,v 1.51 2011/06/13 21:33:54 jkois Exp $
# basiert auf: 1.145

.if exists(Makefile.conf)
.include "Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif

# These are turned into validated, normalized HTML files.

DOCS= about.sgml
DOCS+= administration.sgml
DOCS+= applications.sgml
DOCS+= availability.sgml
DOCS+= art.sgml
DOCS+= docs.sgml
DOCS+= features.sgml
DOCS+= internet.sgml
DOCS+= logo.sgml
DOCS+= mailto.sgml
DOCS+= relnotes.sgml
DOCS+= send-pr.sgml
DOCS+= support.sgml
DOCS+= where.sgml

# These will be directly installed.

#DATA=	favicon.ico
#DATA+=	robots.txt
#DATA+=	freebsd.css
#DATA+=	vendors.html

# Subdirectories
# SGML
SUBDIR= community
SUBDIR+= developers
SUBDIR+= docproj
SUBDIR+= docs
SUBDIR+= news
SUBDIR+= FAQ
SUBDIR+= handbook
SUBDIR+= ipv6
SUBDIR+= java
SUBDIR+= platforms
#SUBDIR+= ports
SUBDIR+= projects
SUBDIR+= releases
SUBDIR+= security
SUBDIR+= snapshots
SUBDIR+= support
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
SUBDIR+= ports
SUBDIR+= doc
.endif
.if defined(BUILD_RELNOTES)
SUBDIR+= relnotes
.endif

# Non-SGML
SUBDIR+= gifs

WEBDIR?=	data/de

# these files are generated by using separate rules.
DATA+=          index.html
CLEANFILES+=    index.html

XMLDOCS=	index:xsl:${XML_NEWS_NEWS}:
DEPENDSET.index=transtable mirrors news press events \
		advisories notices

XMLDOCS+=       community::${XML_EVENTS_EVENTS}:

.include "${DOC_PREFIX}/share/mk/web.site.mk"