head	1.17;
access;
symbols
	XML_XSL_XP:1.13.0.2
	XML_XSL_XP_BP:1.13;
locks; strict;
comment	@# @;


1.17
date	2004.04.26.16.54.52;	author josef;	state dead;
branches;
next	1.16;

1.16
date	2001.12.13.19.30.08;	author phantom;	state Exp;
branches;
next	1.15;

1.15
date	2001.12.12.11.57.36;	author phantom;	state Exp;
branches;
next	1.14;

1.14
date	2001.10.29.10.14.31;	author murray;	state Exp;
branches;
next	1.13;

1.13
date	2001.09.05.07.51.40;	author kuriyama;	state Exp;
branches;
next	1.12;

1.12
date	2001.08.07.15.55.35;	author nik;	state Exp;
branches;
next	1.11;

1.11
date	2000.11.07.04.05.14;	author kuriyama;	state Exp;
branches;
next	1.10;

1.10
date	2000.09.30.00.21.39;	author nbm;	state Exp;
branches;
next	1.9;

1.9
date	2000.04.20.16.40.58;	author phantom;	state Exp;
branches;
next	1.8;

1.8
date	2000.04.07.13.09.21;	author phantom;	state Exp;
branches;
next	1.7;

1.7
date	99.09.06.07.02.43;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	99.04.03.07.21.04;	author wosch;	state Exp;
branches;
next	1.5;

1.5
date	98.08.11.11.43.51;	author wosch;	state Exp;
branches;
next	1.4;

1.4
date	98.08.11.01.18.37;	author wosch;	state Exp;
branches;
next	1.3;

1.3
date	98.08.07.16.57.08;	author wosch;	state Exp;
branches;
next	1.2;

1.2
date	98.08.03.15.37.48;	author wosch;	state Exp;
branches;
next	1.1;

1.1
date	98.08.03.09.34.03;	author wosch;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Finally remove the gallery. I hope i did not miss any references on the
website.
@
text
@# $FreeBSD: www/en/gallery/Makefile,v 1.16 2001/12/13 19:30:08 phantom Exp $

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

XSLTPROCFLAGS=	--catalogs
XSLT=	${SETENV} SGML_CATALOG_FILES=${PREFIX}/share/xml/dtd/xhtml/xhtml.soc \
	${XSLTPROC} ${XSLTPROCOPTS}

INDEXLINK= gallery.html

DATA+=	gallery.html cgallery.html npgallery.html pgallery.html

CLEANFILES+= ${DATA}

gallery.html: gallery.xml gallery.xsl ../includes.xsl
	${XSLT} ${.CURDIR}/gallery.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif

cgallery.html: gallery.xml gallery-entry.xsl
	${XSLT} --param type \'commercial\' \
		${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif

npgallery.html: gallery.xml gallery-entry.xsl
	${XSLT} --param type \'nonprofit\' \
		${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif

pgallery.html: gallery.xml gallery-entry.xsl
	${XSLT} --param type \'personal\' \
		${.CURDIR}/gallery-entry.xsl ${.CURDIR}/gallery.xml > ${.TARGET}
.if !defined(NO_TIDY)
	-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif

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


1.16
log
@Wrap explicit calls of ${TIDY} with NO_TIDY define check. With this
patch build with defined(NO_TIDY) does not call tidy at all.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.15 2001/12/12 11:57:36 phantom Exp $
@


1.15
log
@Force tidy(1) to use '-raw' and newly added '-preserve' options
to process generated HTML. This not cause any side effects except
leaving some character entities in their numeric form instead
converting them into alphabetical notation (&#60; instead of &lt;),
but since all browsers understand such cases it is not a problem.

This commit should make all translations tidy clean, since
tidy should not arise entities conversion problem as it did
for long time before. Therefore all occurences of manual settings
of TIDYFLAGS and NO_TIDY declarations for translations are removed.

Also clean *OPTS/*FLAGS variables declaration like it was done in doc/ tree
some time ago. Currently all local additions to commands parameters that used
in make process should be passed thru *FLAGS variables. All variables
with OPTS suffix are reserved for internal use of web.site.mk now.
Cleanup part is based on work done by Cyrille Lefevre <clefevre-lists@@noos.fr>

No objections from: -doc
Requested by: Russian and Japanese translation teams
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.14 2001/10/29 10:14:31 murray Exp $
d22 1
d24 1
d29 1
d31 1
d36 1
d38 1
d43 1
d45 1
@


1.14
log
@* Make build/install of www /usr/obj prefix clean.
* Use make variables instead of hard coding commands, paths, and
  options.
* Wrap some long lines.
* Replace shell loops with make for loops, etc.

PR:		docs/31132
Submitted by:	Cyrille Lefevre <clefevre@@citeweb.net>
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.13 2001/09/05 07:51:40 kuriyama Exp $
d12 1
a12 1
	${XSLTPROC} ${XSLTPROCFLAGS}
d22 1
a22 1
	-${TIDY} ${TIDYFLAGS} ${.TARGET}
d27 1
a27 1
	-${TIDY} ${TIDYFLAGS} ${.TARGET}
d32 1
a32 1
	-${TIDY} ${TIDYFLAGS} ${.TARGET}
d37 1
a37 1
	-${TIDY} ${TIDYFLAGS} ${.TARGET}
@


1.13
log
@Use XHTML (latin-1) entity references.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.12 2001/08/07 15:55:35 nik Exp $
d10 3
a12 2
XSLT=	env SGML_CATALOG_FILES=/usr/local/share/xml/dtd/xhtml/xhtml.soc \
	xsltproc --catalogs
d18 1
a18 1
CLEANFILES+= cgallery.html npgallery.html pgallery.html gallery.html
d21 2
a22 2
	${XSLT} gallery.xsl gallery.xml > gallery.html
	-tidy -i -m -f /dev/null gallery.html
d25 3
a27 2
	${XSLT} --param type \'commercial\' gallery-entry.xsl gallery.xml > cgallery.html
	-tidy -i -m -f /dev/null cgallery.html
d30 3
a32 2
	${XSLT} --param type \'nonprofit\' gallery-entry.xsl gallery.xml > npgallery.html
	-tidy -i -m -f /dev/null npgallery.html
d35 3
a37 2
	${XSLT} --param type \'personal\' gallery-entry.xsl gallery.xml > pgallery.html
	-tidy -i -m -f /dev/null pgallery.html
@


1.12
log
@Use the XSLT stylesheets to generate the main gallery page as well as
the subpages.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.11 2000/11/07 04:05:14 kuriyama Exp $
d10 3
d19 2
a20 2
gallery.html: gallery.xml gallery.xsl
	xsltproc gallery.xsl gallery.xml > gallery.html
d24 1
a24 1
	xsltproc --param type \'commercial\' gallery-entry.xsl gallery.xml > cgallery.html
d28 1
a28 1
	xsltproc --param type \'nonprofit\' gallery-entry.xsl gallery.xml > npgallery.html
d32 1
a32 1
	xsltproc --param type \'personal\' gallery-entry.xsl gallery.xml > pgallery.html
@


1.11
log
@Switch web.mk to share/mk/web.site.mk in English version.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.10 2000/09/30 00:21:39 nbm Exp $
d10 5
a14 4
DOCS = gallery.sgml
DOCS+= cgallery.sgml
DOCS+= npgallery.sgml 
DOCS+= pgallery.sgml
d16 7
a22 1
INDEXLINK= gallery.html
d24 3
a26 1
CLEANFILES+= cgallery.inc npgallery.inc pgallery.inc gallery.inc
d28 3
a30 18
cgallery.html: cgallery.sgml cgallery.inc
cgallery.inc: gallery.db gengallery.pl
	${PERL} ${.CURDIR}/gengallery.pl commercial ${.CURDIR}/gallery.db > cgallery.inc

npgallery.html: npgallery.sgml npgallery.inc
npgallery.inc: gallery.db gengallery.pl
	${PERL} ${.CURDIR}/gengallery.pl nonprofit ${.CURDIR}/gallery.db > npgallery.inc

pgallery.html: pgallery.sgml pgallery.inc
pgallery.inc: gallery.db gengallery.pl
	${PERL} ${.CURDIR}/gengallery.pl personal ${.CURDIR}/gallery.db > pgallery.inc

gallery.html: gallery.sgml gallery.inc
gallery.inc: gallery.db gallery.sgml
	${PERL} ${.CURDIR}/prune.pl ${.CURDIR}/gallery.db /dev/null | \
	${PERL} -ne 'chomp; m/([-\w]+):\s+(\d+)/ and \
	          print qq/<!ENTITY num./.lc($$1).qq/ CDATA "$$2">\n/' \
	> gallery.inc
@


1.10
log
@First (and very minor) changes on the way to make the www build
obj-clean.

This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.

Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.

Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.

Add -D ${.CURDIR} to sgmlformat to follow includes properly.
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.9 2000/04/20 16:40:58 phantom Exp $
d6 3
d38 1
a38 2
.include "../web.mk"

@


1.9
log
@s/perl/${PERL}/g
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.8 2000/04/07 13:09:21 phantom Exp $
d18 1
a18 1
	${PERL} ./gengallery.pl commercial gallery.db > cgallery.inc
d22 1
a22 1
	${PERL} ./gengallery.pl nonprofit gallery.db > npgallery.inc
d26 1
a26 1
	${PERL} ./gengallery.pl personal gallery.db > pgallery.inc
d30 1
a30 1
	${PERL} ./prune.pl gallery.db /dev/null | \
@


1.8
log
@Dynamicly calculate amount of gallery items.

Submitted by:	Hiroki Sato <hrs@@geocities.co.jp>
@
text
@d1 1
a1 1
# $FreeBSD: www/en/gallery/Makefile,v 1.7 1999/09/06 07:02:43 peter Exp $
d18 1
a18 1
	perl ./gengallery.pl commercial gallery.db > cgallery.inc
d22 1
a22 1
	perl ./gengallery.pl nonprofit gallery.db > npgallery.inc
d26 1
a26 1
	perl ./gengallery.pl personal gallery.db > pgallery.inc
d30 2
a31 2
	perl ./prune.pl gallery.db /dev/null | \
	perl -ne 'chomp; m/([-\w]+):\s+(\d+)/ and \
@


1.7
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d1 1
a1 1
# $FreeBSD$
d14 1
a14 1
CLEANFILES+= cgallery.inc npgallery.inc pgallery.inc
d27 7
@


1.6
log
@Do not depend on *executable* scripts in CVS tree.
And that perl is located in /usr/local/bin
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.5 1998/08/11 11:43:51 wosch Exp $
@


1.5
log
@Remove the quotes from exists("filename"). Make(1) considered the
quotes as part of the filename.

Submitted by: volf@@oasis.IAEhv.nl
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1998/08/11 01:18:37 wosch Exp $
d18 1
a18 1
	./gengallery.pl commercial gallery.db > cgallery.inc
d22 1
a22 1
	./gengallery.pl nonprofit gallery.db > npgallery.inc
d26 1
a26 1
	./gengallery.pl personal gallery.db > pgallery.inc
@


1.4
log
@Include ../Makefile.conf if exists
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1998/08/07 16:57:08 wosch Exp $
d3 1
a3 1
.if exists("../Makefile.conf")
@


1.3
log
@Define default index page.
@
text
@d1 5
a5 1
# $Id: Makefile,v 1.2 1998/08/03 15:37:48 wosch Exp $
@


1.2
log
@Fix links due repository copy.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1998/08/03 09:34:03 wosch Exp $
d7 2
@


1.1
log
@Various changes after repository copy.
@
text
@d1 1
a1 2
# $Id: Makefile,v 1.37 1998/07/31 09:20:29 wosch Exp $

d3 1
a4 1
DOCS+= gallery.sgml
@
