Add cgallery.sgml, pgallery.sgml, npgallery.sgml to build list.

Correct dependencies list.
This commit is contained in:
Alexey Zelkin 2000-03-12 22:30:49 +00:00
parent cdfcc78a87
commit fff68e9eab
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=6755

View file

@ -1,16 +1,34 @@
# $FreeBSD$
# The FreeBSD Russian Documentation Project
# Original revision: 1.7
# Original version: 1.7
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
DOCS = gallery.sgml
DOCS+= cgallery.sgml
DOCS+= npgallery.sgml
DOCS+= pgallery.sgml
INDEXLINK= gallery.html
#BUILDTOP= ../..
#DIR_IN_LOCAL= gallery
CLEANFILES+= cgallery.inc npgallery.inc pgallery.inc
SCRIPTSRCDIR = ../../en/gallery
GENSCRIPT = $(SCRIPTSRCDIR)/gengallery.pl
DBFILE = $(SCRIPTSRCDIR)/gallery.db
cgallery.html: cgallery.sgml cgallery.inc
cgallery.inc: $(GENSCRIPT) $(DBFILE)
perl $(GENSCRIPT) commercial $(DBFILE) > cgallery.inc
npgallery.html: npgallery.sgml npgallery.inc
npgallery.inc: $(GENSCRIPT) $(DBFILE)
perl $(GENSCRIPT) nonprofit $(DBFILE) > npgallery.inc
pgallery.html: pgallery.sgml pgallery.inc
pgallery.inc: $(GENSCRIPT) $(DBFILE)
perl $(GENSCRIPT) personal $(DBFILE) > pgallery.inc
.include "../web.mk"