doc/ru/gallery/Makefile
2001-12-17 21:07:15 +00:00

52 lines
1.4 KiB
Makefile

# $FreeBSD$
# The FreeBSD Russian Documentation Project
# $FreeBSDru: frdp/www/ru/gallery/Makefile,v 1.6 2001/12/17 18:00:05 phantom Exp $
# 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}
DBXML= ../../en/gallery/gallery.xml
INDEXLINK= gallery.html
DATA+= gallery.html cgallery.html npgallery.html pgallery.html
CLEANFILES+= ${DATA}
gallery.html: ${DBXML} gallery.xsl ../includes.xsl
${XSLT} ${.CURDIR}/gallery.xsl ${.CURDIR}/${DBXML} > ${.TARGET}
.if !defined(NO_TIDY)
-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
cgallery.html: ${DBXML} gallery-entry.xsl
${XSLT} --param type \'commercial\' \
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${DBXML} > ${.TARGET}
.if !defined(NO_TIDY)
-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
npgallery.html: ${DBXML} gallery-entry.xsl
${XSLT} --param type \'nonprofit\' \
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${DBXML} > ${.TARGET}
.if !defined(NO_TIDY)
-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
pgallery.html: ${DBXML} gallery-entry.xsl
${XSLT} --param type \'personal\' \
${.CURDIR}/gallery-entry.xsl ${.CURDIR}/${DBXML} > ${.TARGET}
.if !defined(NO_TIDY)
-${TIDY} ${TIDYOPTS} ${.TARGET}
.endif
.include "${WEB_PREFIX}/share/mk/web.site.mk"