head	1.19;
access;
symbols
	HRS_XML_CLEANUP:1.19
	HRS_XML_CLEANUP_PRE:1.18
	EMILYBOYD_REDESIGN:1.13
	PRE_REDESIGN:1.8;
locks; strict;
comment	@# @;


1.19
date	2006.08.19.21.23.32;	author hrs;	state Exp;
branches;
next	1.18;

1.18
date	2006.05.09.16.59.17;	author blackend;	state Exp;
branches;
next	1.17;

1.17
date	2005.12.30.22.16.41;	author blackend;	state Exp;
branches;
next	1.16;

1.16
date	2005.11.02.21.42.01;	author blackend;	state Exp;
branches;
next	1.15;

1.15
date	2005.11.02.21.39.11;	author blackend;	state Exp;
branches;
next	1.14;

1.14
date	2005.10.18.21.02.45;	author blackend;	state Exp;
branches;
next	1.13;

1.13
date	2005.10.13.17.04.16;	author blackend;	state Exp;
branches;
next	1.12;

1.12
date	2005.10.12.19.32.08;	author blackend;	state Exp;
branches;
next	1.11;

1.11
date	2005.10.10.20.43.12;	author blackend;	state Exp;
branches;
next	1.10;

1.10
date	2005.10.06.15.41.34;	author remko;	state Exp;
branches;
next	1.9;

1.9
date	2005.10.05.18.47.07;	author blackend;	state Exp;
branches;
next	1.8;

1.8
date	2004.12.30.17.53.43;	author hrs;	state Exp;
branches;
next	1.7;

1.7
date	2004.10.06.12.55.04;	author stephane;	state Exp;
branches;
next	1.6;

1.6
date	2004.04.06.11.41.17;	author phantom;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.05.14.17.52;	author phantom;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.06.17.33.18;	author stephane;	state Exp;
branches;
next	1.3;

1.3
date	2004.02.29.13.20.40;	author stephane;	state Exp;
branches;
next	1.2;

1.2
date	2003.12.16.21.39.05;	author stephane;	state Exp;
branches;
next	1.1;

1.1
date	2003.11.14.21.00.43;	author blackend;	state Exp;
branches;
next	;


desc
@@


1.19
log
@www cleanup mega commit:

 - Move includes.nav*.sgml to share/sgml/navibar.ent and
   <lang>/share/sgml/navibar.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/fr/Makefile,v 1.18 2006/05/09 16:59:17 blackend Exp $

# The FreeBSD French Documentation Project
# Original revision: 1.107

.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+= applications.sgml
DOCS+= art.sgml
DOCS+= auditors.sgml
DOCS+= availability.sgml
DOCS+= community.sgml
DOCS+= docs.sgml 
DOCS+= features.sgml
DOCS+= internet.sgml 
DOCS+= logo.sgml
DOCS+= mailto.sgml 
DOCS+= publish.sgml
DOCS+= relnotes.sgml
DOCS+= send-pr.sgml
DOCS+= support.sgml
DOCS+= where.sgml 
DOCS+= y2kbug.sgml 

# These will be directly installed.

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

# Subdirectories
# SGML
SUBDIR=	 security
SUBDIR+= commercial
SUBDIR+= community
SUBDIR+= docproj
SUBDIR+= docs
SUBDIR+= news
SUBDIR+= advocacy

SUBDIR+= events
SUBDIR+= FAQ
SUBDIR+= handbook
SUBDIR+= tutorials
SUBDIR+= internal
SUBDIR+= java
SUBDIR+= copyright
SUBDIR+= developers
SUBDIR+= search
SUBDIR+= projects
SUBDIR+= prstats
SUBDIR+= platforms
SUBDIR+= releases
SUBDIR+= releng
SUBDIR+= smp
SUBDIR+= snapshots
SUBDIR+= support
SUBDIR+= kse
SUBDIR+= gnome
SUBDIR+= donations
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
# SUBDIR+= ports
SUBDIR+= doc
.endif
.if defined(BUILD_RELNOTES)
SUBDIR+= relnotes
.endif

# Non-SGML
# SUBDIR+= gifs
# SUBDIR+= cgi

# WEB_LANG?=	da de es fr it ja pt_BR ru tr zh

# Non-English

# .if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
# .for DIR in ${WEB_LANG}
# SUBDIR+=	../${DIR}
# .endfor
# .endif

WEBDIR?=	data/fr

# index.html is special, and generated from index.xsl and news/news.xml
DATA+=		index.html
CLEANFILES+=	index.html

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

index.html: index.xsl ${XML_INCLUDES}\
		${XML_NEWS_INCLUDES} \
		${XML_NEWS_NEWS} ${XML_NEWS_NEWS_MASTER} \
		${XML_NEWS_PRESS} ${XML_NEWS_PRESS_MASTER} \
		${XML_EVENTS_EVENTS} ${XML_EVENTS_EVENTS_MASTER} ${XML_EVENTS_CURDATE} \
		${XML_MIRRORS} ${XML_TRANSTABLE} \
		${XML_ADVISORIES} ${XML_NOTICES}
	${XSLTPROC} ${XSLTPROCOPTS} \
		-o $@@ \
		--param mirrors.xml "'${XML_MIRRORS}'" \
		--param advisories.xml "'${XML_ADVISORIES}'" \
		--param news.press.xml-master "'${XML_NEWS_PRESS_MASTER}'" \
		--param news.press.xml "'${XML_NEWS_PRESS}'" \
		--param news.project.xml-master "'${XML_NEWS_NEWS_MASTER}'" \
		--param news.project.xml "'${XML_NEWS_NEWS}'" \
		--param transtable.xml "'${XML_TRANSTABLE}'" \
		--param events.xml-master "'${XML_EVENTS_EVENTS_MASTER}'" \
		--param events.xml "'${XML_EVENTS_EVENTS}'" \
		--param curdate.xml "'${XML_EVENTS_CURDATE}'" \
		--param notices.xml "'${XML_NOTICES}'" \
		${.CURDIR}/index.xsl ${XML_NEWS_NEWS} ${XML_EVENTS_EVENTS} ${XML_EVENTS_CURDATE}
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif

@


1.18
log
@Add logo page.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.17 2005/12/30 22:16:41 blackend Exp $
a58 1
SUBDIR+= gallery
@


1.17
log
@Hook snapshots/ to the build.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.16 2005/11/02 21:42:01 blackend Exp $
d24 1
@


1.16
log
@Remove navigation.xml
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.15 2005/11/02 21:39:11 blackend Exp $
d65 1
@


1.15
log
@Add cvs.sgml page.

Submitted by:	Antoine Brodin <antoine.brodin@@laposte.net>
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.14 2005/10/18 21:02:45 blackend Exp $
d105 1
a105 2
		${XML_ADVISORIES} ${XML_NOTICES} \
		${XML_NAVIGATION}
a118 1
		--param navigation.xml "'${XML_NAVIGATION}'" \
@


1.14
log
@docs.sgml MFen: --> 1.194
Add docs/ to the build
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.13 2005/10/13 17:04:16 blackend Exp $
d56 1
@


1.13
log
@Add support/ to the build.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.12 2005/10/12 19:32:08 blackend Exp $
d45 1
@


1.12
log
@Add community directory to the build.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.11 2005/10/10 20:43:12 blackend Exp $
d63 1
@


1.11
log
@Add community.sgml file.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.10 2005/10/06 15:41:34 remko Exp $
d43 1
@


1.10
log
@Remove the register page's.  They are not used for a long period of time
already.

Approved by:		blackend
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.9 2005/10/05 18:47:07 blackend Exp $
d16 1
a16 1
DOCS+=  applications.sgml
d20 1
@


1.9
log
@MFP4: Merge new layout

Submitted by:   Emily Boyd <emilyboyd@@emilyboyd.com>
Sponsored by:   Google Summer of Code 2005
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.8 2004/12/30 17:53:43 hrs Exp $
a21 1
DOCS+= register.sgml
@


1.8
log
@Implement templates for selectively picking up the latest
news items and putting them into the localized web pages.
If the translation is available it will be used, otherwise
the original (English) version of the news item will be used.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.7 2004/10/06 12:55:04 stephane Exp $
d15 2
a16 1
DOCS=  applications.sgml
d99 1
d112 3
d117 1
a117 1
		${.CURDIR}/index.xsl ${XML_NEWS_NEWS}
@


1.7
log
@New translation.

  fr/art.sgml: MFen 1.4

Submitted by: Pascal Florin <FlorinPascal@@aol.com>
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.6 2004/04/06 11:41:17 phantom Exp $
d95 6
a100 2
		${XML_NEWS_INCLUDES} ${XML_NEWS_NEWS} ${XML_NEWS_PRESS}\
		${XML_MIRRORS} ${XML_TRANSTABLE} ${XML_ADVISORIES} ${XML_NAVIGATION}
d105 1
d107 1
d110 1
@


1.6
log
@Remove more old good days leftovers.

. tutorials is long time ago unused as doc/ building directory.  So,
  no need to threat it specially.
. FAQ and handbook directories are also used as compat reference
  containers now.  So, having them declared as COOKIE is unnecessary.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.5 2004/04/05 14:17:52 phantom Exp $
d16 1
@


1.5
log
@Remove 'webcheck' targets cut'n'pasted from en/Makefile.  Since they are
absolutely same and refer to root (english) install directory no reason
to have them declared here.
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.4 2004/03/06 17:33:18 stephane Exp $
d48 1
a70 6
# These *must* be listed after the "doc" subdir, as they create symlinks
# in to it.
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
SUBDIR+= tutorials
.endif

a75 2

COOKIE=	FAQ handbook
@


1.4
log
@New translations.

  fr/events/events.css: MFen 1.1
  fr/events/events.dtd: MFen 1.1
  fr/events/events.xml: MFen 1.20
                        (submitted by Francis Bacque <opl@@opltech.net>)
  fr/events/events.xsl: MFen 1.2
  fr/events/includes.xsl: MFen 1.1
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.3 2004/02/29 13:20:40 stephane Exp $
a96 10

WEBCHECK?=	${PREFIX}/bin/webcheck
WEBCHECKOPTS?=	-ab ${WEBCHECKFLAGS}
WEBCHECKDIR?=	/webcheck
WEBCHECKINSTALLDIR?= ${DESTDIR}${WEBCHECKDIR}
WEBCHECKURL?=	http://www.FreeBSD.org/

webcheck:
	@@[ -d ${WEBCHECKINSTALLDIR} ] || ${MKDIR} ${WEBCHECKINSTALLDIR}
	${WEBCHECK} ${WEBCHECKOPTS} -o ${WEBCHECKINSTALLDIR} ${WEBCHECKURL}
@


1.3
log
@Merge from the English version:

  1.105 -> 1.107 fr/Makefile
  1.90  -> 1.95  fr/index.xsl
  1.38  -> 1.39  fr/news/Makefile
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.2 2003/12/16 21:39:05 stephane Exp $
d45 1
a45 1
# SUBDIR+= events
@


1.2
log
@Merge from the English version:

  fr/Makefile: 1.105
@
text
@d1 1
a1 1
# $FreeBSD: www/fr/Makefile,v 1.1 2003/11/14 21:00:43 blackend Exp $
d4 1
a4 1
# Original revision: 1.105
d112 1
a112 1
		${XML_MIRRORS} ${XML_ADVISORIES}
d119 2
@


1.1
log
@First step to www.FreeBSD.org/fr

Supported by:	FreeBSD-FR.org
@
text
@d1 5
a5 1
# $FreeBSD$
d13 24
d39 33
d73 1
a73 1
SUBDIR=  doc
d76 16
d94 14
d109 15
@

