This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
77 lines (66 loc) · 4.24 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Copyright 2012 Jeffrey Kegler
# This file is part of Marpa::R2. Marpa::R2 is free software: you can
# redistribute it and/or modify it under the terms of the GNU Lesser
# General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# Marpa::R2 is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser
# General Public License along with Marpa::R2. If not, see
# http://www.gnu.org/licenses/.
# See below for the list Debian packages required to 'make' this
.phony: all clean recce-indexes quick
LATEX = pdflatex
MAKEINDEX = makeindex
.SUFFIXES:
.SUFFIXES: .pdf .ltx .ind .idx .ilg
# temporary, during heavy development of theory doc
quick:
$(LATEX) recce.ltx
$(MAKE) recce-indexes
recce-indexes:
for ix in definitions general algorithms theorems notation; do \
if ! test -f recce-$$ix.idx ; then touch recce-$$ix.idx; fi; \
makeindex -t recce-$$ix.ilg -o recce-$$ix.ind recce-$$ix.idx; \
done
all: ah2002_notes.pdf recce.pdf
recce.pdf: recce.ltx
$(LATEX) recce.ltx
$(LATEX) recce.ltx
$(MAKE) recce-indexes
$(LATEX) recce.ltx
ah2002_notes.pdf: ah2002_notes.ltx
$(LATEX) ah2002_notes.ltx
clean:
rm -f ah2002_notes.pdf
rm -f recce.aux recce.pdf recce.toc recce.out
for ix in definitions general algorithms theorems notation; do \
rm -f recce-$$ix.ind recce-$$ix.ilg; \
done
# Requires these Debian packages (as of Thu Sep 17 10:11:18 PDT 2015)
# ii texlive-base 2014.20141024-2 all TeX Live: Essential programs and files
# ii texlive-binaries 2014.20140926.35254- amd64 Binaries for TeX Live
# ii texlive-extra-utils 2014.20141024-1 all TeX Live: TeX auxiliary programs
# ii texlive-font-utils 2014.20141024-1 all TeX Live: Graphics and font utilities
# ii texlive-fonts-extra 2014.20141024-1 all TeX Live: Additional fonts
# ii texlive-fonts-extra-doc 2014.20141024-1 all TeX Live: Documentation files for texlive-fonts-extra
# ii texlive-fonts-recommended 2014.20141024-2 all TeX Live: Recommended fonts
# ii texlive-fonts-recommended-doc 2014.20141024-2 all TeX Live: Documentation files for texlive-fonts-recommended
# ii texlive-generic-recommended 2014.20141024-2 all TeX Live: Generic recommended packages
# ii texlive-lang-greek 2014.20141024-1 all TeX Live: Greek
# ii texlive-latex-base 2014.20141024-2 all TeX Live: LaTeX fundamental packages
# ii texlive-latex-base-doc 2014.20141024-2 all TeX Live: Documentation files for texlive-latex-base
# ii texlive-latex-extra 2014.20141024-1 all TeX Live: LaTeX additional packages
# ii texlive-latex-extra-doc 2014.20141024-1 all TeX Live: Documentation files for texlive-latex-extra
# ii texlive-latex-recommended 2014.20141024-2 all TeX Live: LaTeX recommended packages
# ii texlive-latex-recommended-doc 2014.20141024-2 all TeX Live: Documentation files for texlive-latex-recommended
# ii texlive-pictures 2014.20141024-2 all TeX Live: Graphics, pictures, diagrams
# ii texlive-pictures-doc 2014.20141024-2 all TeX Live: Documentation files for texlive-pictures
# ii texlive-pstricks 2014.20141024-1 all TeX Live: PSTricks
# ii texlive-pstricks-doc 2014.20141024-1 all TeX Live: Documentation files for texlive-pstricks
# ii texlive-science 2014.20141024-1 all TeX Live: Natural and computer sciences
# ii texlive-science-doc 2014.20141024-1 all TeX Live: Documentation files for texlive-science