X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=doc%2FMakefile;h=0c8baa9ce3b3e59272e179744ef14c5180af98a2;hb=9acb5116f09994c4cd1000c4e8d616d19929469c;hp=c87c5993718402a6e5837d2ae65b108e83171c5f;hpb=9c16f9141639e2f74afd654764d03300a40917da;p=uffi.git diff --git a/doc/Makefile b/doc/Makefile index c87c599..0c8baa9 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,3 +1,4 @@ +############################################################################## # FILE IDENTIFICATION # # Name: Makefile @@ -5,13 +6,15 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.25 2002/05/05 01:47:27 kevin Exp $ +# CVS Id: $Id$ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # # 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. +############################################################################## + # System variable to select catalog file SYSTEM=debian @@ -59,11 +62,14 @@ CHECK=nsgmls -s -C ${CATALOG} || exit 1 .PHONY: check check: - $(CHECK) + @$(CHECK) -html: $(DOCFILES) +.PHONY: html +html: html.tar.gz + +html.tar.gz: $(DOCFILES) Makefile @$(CHECK) - @( rm -rf html ; mkdir html; cd html ; jade -t sgml -c ../${CATALOG} -d ${DSSSL_HTML} ../${DOCFILE} > /dev/null; ln -s book1.html index.html; cd ..) + @( rm -rf html ; mkdir html; cd html ; jade -t sgml -c ../${CATALOG} -d ${DSSSL_HTML} ../${DOCFILE} > /dev/null; cp book1.html index.html; cd ..; GZIP='-9' tar czf html.tar.gz html) .PHONY: tex tex: ${TEXFILE} @@ -75,7 +81,8 @@ ${TEXFILE}: ${DOCFILES} .PHONY: pdf pdf: ${PDFFILE} -${PDFFILE}: ${TEXFILE} +${PDFFILE}: ${DOCFILES} + @jade -t tex -c ${CATALOG} -d ${DSSSL_PRINT} ${DOCFILE} > /dev/null @pdfjadetex -interaction=batchmode '\pdfcompresslevel=9' '\input ${TEXFILE}' > /dev/null @pdfjadetex -interaction=batchmode '\pdfcompresslevel=9' '\input ${TEXFILE}' > /dev/null @pdfjadetex -interaction=batchmode '\pdfcompresslevel=9' '\input ${TEXFILE}' > /dev/null @@ -98,14 +105,10 @@ ${PSFILE}: ${DVIFILE} .PHONY: clean clean: - @rm -f *~ *.bak *.orig \#*\# .\#* + @rm -f *~ *.bak *.orig \#*\# .\#* texput.log + @rm -rf html ${PSFILE} @rm -f ${TMPFILES} @rm -f ${DVIFILE} ${TEXFILE} .PHONY: distclean distclean: clean - @rm -rf html - @rm -f ${PSFILE} ${PDFFILE} - - -