1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00

Ignore some more intermediate files

git-svn-id: svn://svn.cc65.org/cc65/trunk@711 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-05-04 17:46:30 +00:00
parent 1fbf554c63
commit 00074cedbc
2 changed files with 20 additions and 11 deletions

View File

@ -1,14 +1,16 @@
.depend
*.man *.man
*.dvi *.dvi
*.html *.html
*.info *.info
*.tex
ar65.txt ar65.txt
ca65.txt ca65.txt
cc65.txt cc65.txt
cl65.txt cl65.txt
coding.txt coding.txt
debugging.txt debugging.txt
dio.txt dio.txt
geos.txt geos.txt
index.txt index.txt
intro.txt intro.txt

View File

@ -22,6 +22,7 @@ TXT = $(SGML:.sgml=.txt)
HTML = $(SGML:.sgml=.html) HTML = $(SGML:.sgml=.html)
INFO = $(SGML:.sgml=.info) INFO = $(SGML:.sgml=.info)
DVI = $(SGML:.sgml=.dvi) DVI = $(SGML:.sgml=.dvi)
TEX = $(SGML:.sgml=.tex)
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Rules to make targets # Rules to make targets
@ -30,7 +31,7 @@ DVI = $(SGML:.sgml=.dvi)
sgml2txt $< sgml2txt $<
%.html: %.sgml %.html: %.sgml
sgml2html --split=1 $< sgml2html --split=1 $<
%.info: %.sgml %.info: %.sgml
sgml2info $< sgml2info $<
@ -38,33 +39,39 @@ DVI = $(SGML:.sgml=.dvi)
%.dvi: %.sgml %.dvi: %.sgml
sgml2latex $< sgml2latex $<
%.tex: %.sgml
sgml2latex --output=tex $<
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Targets # Targets
.PHONY: all .PHONY: all
all: txt html info dvi all: txt html info dvi
.PHONY: txt .PHONY: txt
txt: $(TXT) txt: $(TXT)
.PHONY: html .PHONY: html
html: $(HTML) html: $(HTML)
.PHONY: info .PHONY: info
info: $(INFO) info: $(INFO)
.PHONY: dvi .PHONY: dvi
dvi: $(DVI) dvi: $(DVI)
.PHONY: tex
tex: $(TEX)
# The index.html target is special, since it does not get splitted # The index.html target is special, since it does not get splitted
index.html: index.sgml index.html: index.sgml
sgml2html --split=0 $< sgml2html --split=0 $<
clean: clean:
rm -f *~ rm -f *~
zap: clean zap: clean
rm -f $(TXT) $(HTML) $(INFO) $(DVI) *.html *.info-* *.man rm -f $(TXT) $(HTML) $(INFO) $(DVI) $(TEX) *.html *.info-* *.man
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Make the dependencies # Make the dependencies