54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
# $FreeBSD: www/ja/gallery/Makefile,v 1.18 2001/12/13 19:30:09 phantom Exp $
|
|
# The FreeBSD Japanese Documentation Project
|
|
# Original revision: 1.16
|
|
|
|
.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}
|
|
|
|
SRC= ../../en/gallery/gallery.xml
|
|
|
|
INDEXLINK= gallery.html
|
|
|
|
DATA+= gallery.html cgallery.html npgallery.html pgallery.html
|
|
|
|
CLEANFILES+= ${DATA}
|
|
|
|
gallery.html: ${SRC} gallery.xsl ../includes.xsl
|
|
${XSLT} ${.CURDIR}/gallery.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|
|
|
|
cgallery.html: ${SRC} gallery-entry.xsl
|
|
${XSLT} --param type \'commercial\' \
|
|
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|
|
|
|
npgallery.html: ${SRC} gallery-entry.xsl
|
|
${XSLT} --param type \'nonprofit\' \
|
|
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|
|
|
|
pgallery.html: ${SRC} gallery-entry.xsl
|
|
${XSLT} --param type \'personal\' \
|
|
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${SRC} > ${.TARGET}
|
|
.if !defined(NO_TIDY)
|
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
|
.endif
|
|
|
|
### Revision checking
|
|
REVCHECK= yes
|
|
|
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|