head	1.4;
access;
symbols
	HRS_XML_CLEANUP:1.4
	HRS_XML_CLEANUP_PRE:1.3
	EMILYBOYD_REDESIGN:1.3
	PRE_REDESIGN:1.3;
locks; strict;
comment	@# @;


1.4
date	2006.08.19.21.20.39;	author hrs;	state Exp;
branches;
next	1.3;

1.3
date	2005.09.20.21.18.25;	author hrs;	state Exp;
branches;
next	1.2;

1.2
date	2005.09.18.04.33.46;	author hrs;	state Exp;
branches;
next	1.1;

1.1
date	2005.04.19.21.19.03;	author brueffer;	state Exp;
branches;
next	;


desc
@@


1.4
log
@www cleanup mega commit:

 - Move includes.nav*.sgml to share/sgml/navibar.ent and
   <lang>/share/sgml/nabibar.l10n.ent.

 - Move includes.sgml and includes.xsl to
   share/sgml/common.ent, share/sgml/header.ent, <lang>/share/sgml/l10n.ent,
   and <lang>?share/sgml/header.l10n.ent.

 - Move most of XSLT libraries to share/sgml/*.xsl and
   <lang>/share/sgml/*.xsl.

 - Move news.xml and other *.xml files for the similar purpose
   to share/sgml/*.xml and <lang>/share/sgml/*.xml.

 - Switch to use a custom DTD for HTML document.  Now we use
   "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension", which is
   HTML 4.01 + some entities previously pulled via
   "<!ENTITY % includes SYSTEM "includes.sgml"> %includes;" line.
   The location of entity file will be resolved by using catalog file.

 - Add DOCTYPE declearation to XML documents.  This makes the followings
   possible:

   * Use of &foo; entities for SGML in an XML file instead of defining
     {$foo} as the same content.

   * &symbolic; entities for Latin characters.

 - Duplicated information between SGML and XML, or English and
   translated doc, has been removed as much as possible.
@
text
@# $FreeBSD: www/en/news/2003/Makefile,v 1.3 2005/09/20 21:18:25 hrs Exp $

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

XMLDOCS+=	index:${XSL_NEWS_NEWSFLASH_OLD}:news.xml:
DEPENDSET.index=transtable news

XMLDOCS+=	press:${XSL_NEWS_PRESS_OLD}::
DEPENDSET.press=transtable press

.include "${WEB_PREFIX}/share/mk/web.site.mk"
@


1.3
log
@Fix a typo: s/oldpress.xsl/oldnewsflash.xsl/
@
text
@d1 1
a1 1
# $FreeBSD: www/en/news/2003/Makefile,v 1.2 2005/09/18 04:33:46 hrs Exp $
d10 2
a11 3
XMLDOCS=	index:../oldnewsflash.xsl:news.xml:
SRCS.index=	../includes.xsl
DEPENDSET.index=	transtable
d13 2
a14 3
XMLDOCS+=	press:../oldpress.xsl::
SRCS.press=	../includes.xsl
DEPENDSET.press=	transtable
@


1.2
log
@Introduce doc.xml.mk and XMLDOC variable to simplify build
of XML docs.  Note that XML catalog support is still incomplete.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/news/2003/Makefile,v 1.1 2005/04/19 21:19:03 brueffer Exp $
d10 1
a10 1
XMLDOCS=	index:../oldpress.xsl:news.xml:
@


1.1
log
@Split off the 2003 news and press articles into their own subdir.
@
text
@d1 1
a1 1
# $FreeBSD$
d10 3
a12 2
DATA=		index.html press.html
CLEANFILES+=	index.html press.html
d14 3
a16 17
index.html: ../oldnewsflash.xsl news.xml \
		${XML_INCLUDES} ${XML_TRANSTABLE}
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param transtable.xml "'${XML_TRANSTABLE}'" \
		${.CURDIR}/../oldnewsflash.xsl ${.CURDIR}/news.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif

press.html: ../oldpress.xsl press.xml \
		${XML_INCLUDES} ${XML_TRANSTABLE}
	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
		--param transtable.xml "'${XML_TRANSTABLE}'" \
		${.CURDIR}/../oldpress.xsl ${.CURDIR}/press.xml
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
@

