X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2FMakefile;h=85a9f0269aae7ddab6af7aafa4ee2e49d233e2ff;hb=a8074fe2035d97f5178c41104dd44c839987c380;hp=0ea0a996996b61dae737572fa2f092f9d94eb29f;hpb=ca6fc372dac273f6d61f1deaddf96d077cb1c47f;p=clsql.git diff --git a/doc/Makefile b/doc/Makefile index 0ea0a99..85a9f02 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -5,35 +5,26 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.5 2002/04/07 09:24:22 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.7 2002/04/23 21:32:25 kevin Exp $ # -# This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg +# This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg # -# UFFI users are granted the rights to distribute and use this software +# CLSQL users are granted the rights to distribute and use this software # as governed by the terms of the Lisp Lesser GNU Public License # (http://opensource.franz.com/preamble.html), also known as the LLGPL. +# System variable to select catalog file +SYSTEM=debian +# SYSTEM=redhat +# Nothing to configure beyond this point -# Set to DSSSL -# For RedHat 6.x -#DSSSL_HTML=/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl -#DSSL_PRINT=/usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl - -# For RedHat 7.2 -DSSSL_HTML=/usr/share/sgml/docbook/dsssl-stylesheets-1.64/html/docbook.dsl -DSSSL_PRINT=/usr/share/sgml/docbook/dsssl-stylesheets-1.64/print/docbook.dsl - -# Latest version -DSSSL_HTML=/usr/share/sgml/docbook/dsssl-stylesheets-1.76/html/docbook.dsl -DSSSL_PRINT=/usr/share/sgml/docbook/dsssl-stylesheets-1.76/print/docbook.dsl +CATALOG=catalog.$(SYSTEM) -# Custom version +# Custom DSSSL's DSSSL_HTML=../dsssl/html/docbook.dsl DSSSL_PRINT=dsssl/print/docbook.dsl -# Nothing to configure beyond this point - DOCFILE_BASE_DEFAULT=clsql DOCFILE_EXT_DEFAULT=sgml @@ -61,7 +52,7 @@ all: html pdf ps dvi dist: html pdf -CHECK=nsgmls -s -C catalog || exit 1 +CHECK=nsgmls -s -C ${CATALOG} || exit 1 check: $(CHECK) @@ -70,13 +61,13 @@ html: html/book1.htm html/book1.htm: ${DOCFILES} $(CHECK) - ( rm -rf html ; mkdir html; cd html ; jade -t sgml -c ../catalog -d ${DSSSL_HTML} ../${DOCFILE}; cd ..) + ( rm -rf html ; mkdir html; cd html ; jade -t sgml -c ../${CATALOG} -d ${DSSSL_HTML} ../${DOCFILE}; cd ..) tex: ${TEXFILE} ${TEXFILE}: ${DOCFILES} $(CHECK) - @jade -t tex -c catalog -d ${DSSSL_PRINT} ${DOCFILE} + @jade -t tex -c ${CATALOG} -d ${DSSSL_PRINT} ${DOCFILE} pdf: ${PDFFILE}