aboutsummaryrefslogtreecommitdiff
path: root/src/doc/Makefile.pamphlet
blob: b071b536b3e343a99a2d8f846de5a36f14b569b9 (plain)
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
%% Oh Emacs, this is a -*- Makefile -*-, so give me tabs.
\documentclass{article}
\usepackage{axiom}

\title{\File{src/doc/Makefile} Pamphlet}
\author{Timothy Daly \and Gabriel Dos~Reis}

\begin{document}
\maketitle
\begin{abstract}
\end{abstract}

\tableofcontents
\eject


\section{The Makefile}

We need to document the commands.
<<*>>=
IN=$(axiom_src_srcdir)/doc
MID=./$(top_builddir)/int/doc
OUT=$(axiom_target_bindir)
STY=${OUT}/tex
DVI=$(axiom_target_docdir)
DOC=./$(top_builddir)/int/doc

subdir = src/doc/

pamphlets = axiom.sty.pamphlet \
	axiom.bib.pamphlet \
	DeveloperNotes.pamphlet \
	Rosetta.pamphlet \
	$(booklet_SOURCES)

FILES= ${MID}/axiom.bib ${STY}/axiom.sty \
       ${DVI}/book.dvi ${DVI}/bookvol1.dvi ${DVI}/endpaper.dvi

CMDS=$(axiom_target_bindir)/booklet

.PHONY: all all-doc
all: all-ax

all-ax all-doc: stamp
	@echo 9 finished $(builddir)

stamp: ${CMDS}
	-rm -f stamp
	$(STAMP) stamp

dvi-local: $(FILES)

mostlyclean-local:
	-rm -f $(booklet_objects)

clean-local: mostlyclean-local
	-rm -f $(axiom_target_bindir)/booklet
	-rm -f $(booklet_sources)

distclean-local: clean-local
@


\end{document}