Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b83241c

Browse files
committed
Much simpler version, intended as a script.
1 parent b75d8ce commit b83241c

1 file changed

Lines changed: 25 additions & 58 deletions

File tree

Doc/Makefile

Lines changed: 25 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,27 @@
1-
# Makefile for Python documentation.
2-
# Actually, it is easier to just do:
3-
# latex tut
4-
# latex tut
5-
# latex lib
6-
# latex lib
7-
# latex ref
8-
# latex ref
9-
# (Doing everything twice so the table of contents comes out right!)
10-
11-
LATEX= latex
12-
DVIPS= dvips
13-
TEXPREVIEW= xdvi
14-
15-
PRINT= lpr
16-
17-
ALL= tut.ps lib.ps ref.ps
18-
19-
all: $(ALL)
20-
21-
tut: tut.dvi
22-
$(TEXPREVIEW) tut
23-
24-
tut.dvi tut.ps: tut.toc tut.tex myformat.sty
25-
26-
lib: lib.dvi
27-
$(TEXPREVIEW) lib
28-
29-
lib.dvi lib.ps: lib.toc lib.tex lib1.tex lib2.tex lib3.tex myformat.sty
30-
31-
ref: ref.dvi
32-
$(TEXPREVIEW) ref
33-
34-
ref.dvi ref.ps: ref.toc ref.tex myformat.sty
35-
36-
print: $(ALL)
37-
$(PRINT) $(ALL)
1+
all: tut ref lib # qua
2+
3+
tut:
4+
latex tut
5+
latex tut
6+
7+
ref:
8+
touch ref.ind
9+
latex ref
10+
makeindex ref
11+
latex ref
12+
13+
lib:
14+
touch lib.ind
15+
latex lib
16+
makeindex lib
17+
latex lib
18+
19+
qua:
20+
latex qua
21+
latex qua
22+
bibtex qua
23+
latex qua
3824

3925
clean:
40-
rm -f *.dvi *.aux *.toc *.log *.ps core [#@,]* *~
41-
42-
.SUFFIXES: # Remove default suffixes
43-
44-
.SUFFIXES: .tex .aux .toc .dvi .ps
45-
46-
.tex.aux:
47-
$(LATEX) $*
48-
49-
.tex.toc:
50-
$(LATEX) $*
51-
52-
.tex.dvi:
53-
$(LATEX) $*
54-
55-
.dvi.ps:
56-
$(DVIPS) $* >$*.ps
57-
58-
.tex.ps:
59-
$(LATEX) $*
60-
$(DVIPS) $* >$*.ps
26+
rm -f *~ *.aux *.dvi *.idx *.ilg *.ind *.log *.ps *.toc
27+
# Keep: .tex, .bib, .sty!

0 commit comments

Comments
 (0)