X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2FMakefile;h=b252b024a697fa5336760bc73fab0bbf697bef55;hb=32d6fa3d533e70745f67e44dfc07d66769d975d6;hp=63e83e02d11daa86d8b4f26272df8345f251c800;hpb=b130d8ce7ea8f259f1f6c037693dee789f86570a;p=uffi.git diff --git a/doc/Makefile b/doc/Makefile index 63e83e0..b252b02 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -5,24 +5,14 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.3 2002/03/10 12:54:01 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.8 2002/03/23 09:09:24 kevin Exp $ # -# Copyright (c) 2002 by Kevin M. Rosenberg +# This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # -# This file is part of UFFI. -# -# UFFI is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License (version 2) as -# published by the Free Software Foundation. -# -# UFFI is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with UFFI; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# UFFI 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. + # Set to DSSSL @@ -31,12 +21,16 @@ #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 +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 +#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 + +# Custom version +#DSSSL_HTML=/home/kevin/lisp/docbook/html/lisp.dsl +#DSSSL_PRINT=/home/kevin/lisp/docbook/print/lisp.dsl # Nothing to configure beyond this point @@ -60,21 +54,25 @@ PSFILE=${DOCFILE_BASE}.ps DVIFILE=${DOCFILE_BASE}.dvi TMPFILES=${DOCFILE_BASE}.aux ${DOCFILE_BASE}.out ${DOCFILE_BASE}.log +all: html pdf ps dvi + dist-doc: html pdf - @rm -f ${DVIFILE} ${PSFILE} ${TEXFILE} - @rm -f *~ -all: html pdf ps dvi +CHECK=nsgmls -s -C catalog || exit 1 check: - nsgmls -s -C catalog || exit 1 + $(CHECK) + +html: html/manual.htm -html: check ${DOCFILE} +html/manual.htm: ${DOCFILE} + $(CHECK) ( rm -rf html ; mkdir html; cd html ; jade -t sgml -c ../catalog -d ${DSSSL_HTML} ../${DOCFILE}; mv book1.htm manual.htm; cd ..) tex: ${TEXFILE} -${TEXFILE}: check ${DOCFILE} +${TEXFILE}: ${DOCFILE} + $(CHECK) jade -t tex -c catalog -d ${DSSSL_PRINT} ${DOCFILE} pdf: ${PDFFILE} @@ -84,7 +82,6 @@ ${PDFFILE}: ${TEXFILE} pdfjadetex '\pdfcompresslevel=9' '\input ${TEXFILE}' pdfjadetex '\pdfcompresslevel=9' '\input ${TEXFILE}' pdfjadetex '\pdfcompresslevel=9' '\input ${TEXFILE}' - @rm -f ${TMPFILES} dvi: ${DVIFILE} @@ -93,7 +90,6 @@ ${DVIFILE}: ${TEXFILE} jadetex ${TEXFILE} jadetex ${TEXFILE} jadetex ${TEXFILE} - @rm -f ${TMPFILES} ps: ${PSFILE} @@ -103,7 +99,7 @@ ${PSFILE}: ${DVIFILE} clean: @rm -rf html @rm -f ${PSFILE} ${PDFFILE} ${DVIFILE} ${TEXFILE} - @rm -f ${TMPFILE} + @rm -f ${TMPFILES} realclean: clean @rm -f *~