From 00074cedbca94b87fe2879e9dd2e2a12de8000e6 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 4 May 2001 17:46:30 +0000 Subject: [PATCH] Ignore some more intermediate files git-svn-id: svn://svn.cc65.org/cc65/trunk@711 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/.cvsignore | 8 +++++--- doc/Makefile | 23 +++++++++++++++-------- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/doc/.cvsignore b/doc/.cvsignore index c0bafa9b2..2630f31b2 100644 --- a/doc/.cvsignore +++ b/doc/.cvsignore @@ -1,14 +1,16 @@ +.depend *.man *.dvi *.html -*.info +*.info +*.tex ar65.txt ca65.txt cc65.txt -cl65.txt +cl65.txt coding.txt debugging.txt -dio.txt +dio.txt geos.txt index.txt intro.txt diff --git a/doc/Makefile b/doc/Makefile index 20babea17..85b9885bd 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -22,6 +22,7 @@ TXT = $(SGML:.sgml=.txt) HTML = $(SGML:.sgml=.html) INFO = $(SGML:.sgml=.info) DVI = $(SGML:.sgml=.dvi) +TEX = $(SGML:.sgml=.tex) # ------------------------------------------------------------------------------ # Rules to make targets @@ -30,7 +31,7 @@ DVI = $(SGML:.sgml=.dvi) sgml2txt $< %.html: %.sgml - sgml2html --split=1 $< + sgml2html --split=1 $< %.info: %.sgml sgml2info $< @@ -38,33 +39,39 @@ DVI = $(SGML:.sgml=.dvi) %.dvi: %.sgml sgml2latex $< +%.tex: %.sgml + sgml2latex --output=tex $< + # ------------------------------------------------------------------------------ # Targets .PHONY: all -all: txt html info dvi +all: txt html info dvi .PHONY: txt -txt: $(TXT) +txt: $(TXT) .PHONY: html -html: $(HTML) +html: $(HTML) .PHONY: info -info: $(INFO) +info: $(INFO) .PHONY: dvi -dvi: $(DVI) +dvi: $(DVI) + +.PHONY: tex +tex: $(TEX) # The index.html target is special, since it does not get splitted index.html: index.sgml - sgml2html --split=0 $< + sgml2html --split=0 $< clean: rm -f *~ zap: clean - rm -f $(TXT) $(HTML) $(INFO) $(DVI) *.html *.info-* *.man + rm -f $(TXT) $(HTML) $(INFO) $(DVI) $(TEX) *.html *.info-* *.man # ------------------------------------------------------------------------------ # Make the dependencies