3 # Generic makefile for latex
5 # Author: Stefano Zacchiroli <zack@bononia.it>
7 # Created: Sun, 29 Jun 2003 12:00:55 +0200 zack
8 # Last-Modified: Sun, 29 Jun 2003 12:00:55 +0200 zack
11 ########################################################################
13 # list of .tex _main_ files
14 TEXS = hbugs-calculemus-2003.tex
16 # number of runs of latex (for table of contents, list of figures, ...)
22 # which formats generated by default ("all" target)?
23 # (others will be generated by "world" target)
24 FORMATS = $(AVAILABLE_FORMATS)
25 AVAILABLE_FORMATS = dvi ps ps.gz pdf
27 ########################################################################
41 ALL_FORMATS = $(FORMATS)
42 WORLD_FORMATS = $(AVAILABLE_FORMATS)
45 world: $(WORLD_FORMATS)
47 DVIS = $(TEXS:.tex=.dvi)
48 PSS = $(TEXS:.tex=.ps)
49 PSGZS = $(TEXS:.tex=.ps.gz)
50 PDFS = $(TEXS:.tex=.pdf)
51 HTMLS = $(TEXS:.tex=.html)
73 $(TEXS:.tex=.dvi) $(TEXS:.tex=.ps) $(TEXS:.tex=.ps.gz) \
74 $(TEXS:.tex=.pdf) $(TEXS:.tex=.aux) $(TEXS:.tex=.log) \
79 if [ "$(BIBTEX)" = "yes" ]; then $(BIBTEX) $*; fi
80 if [ "$(RUNS)" -gt 1 ]; then \
81 for i in seq 1 `expr $(RUNS) - 1`; do \
94 .PHONY: all ps pdf html clean