X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=doc%2FMakefile;h=b252b024a697fa5336760bc73fab0bbf697bef55;hb=ca7e9a2299773cfbc927d71e6289549601438b24;hp=baccb857f5b8657c33072e79986a75fc0139d32c;hpb=4d0afb9bedcc103e882dce47d0cdc57a0b79e433;p=uffi.git diff --git a/doc/Makefile b/doc/Makefile index baccb85..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.4 2002/03/10 17:43:56 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,12 @@ #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 @@ -64,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} @@ -88,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} @@ -97,7 +90,6 @@ ${DVIFILE}: ${TEXFILE} jadetex ${TEXFILE} jadetex ${TEXFILE} jadetex ${TEXFILE} - @rm -f ${TMPFILES} ps: ${PSFILE} @@ -107,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 *~