-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile
46 lines (34 loc) · 1 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
.PHONY: info dvi html pdf ps all mostlyclean
SHELL = /bin/bash
srcdir = .
MAKEINFO = makeinfo
MAKEINFO_OPTS = --force --enable-encoding -I $(emacsdir) -I $(srcdir)
TEXI2DVI = texi2dvi
TEXI2PDF = texi2pdf
DVIPS = dvips
TOP_SRC = elisp-bytecode.texi
srcs = $(wildcard *.texi)
DVI_TARGETS = elisp-bytecode.dvi
HTML_TARGETS = elisp-bytecode.html
PDF_TARGETS = elisp-bytecode.pdf
PS_TARGETS = elisp-bytecode.ps
# Standard configure variables.
srcdir = .
buildinfodir = .
all: elisp-bytecode.pdf elisp-bytecode.info
$(buildinfodir)/elisp-bytecode.info: $(srcs)
info: $(buildinfodir)/elisp-bytecode.info
dvi: $(DVI_TARGETS)
html: $(HTML_TARGETS)
pdf: $(PDF_TARGETS)
ps: $(PS_TARGETS)
ENVADD = \
MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
mostlyclean:
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
*.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs *.info
clean: mostlyclean
rm -f $(DVI_TARGETS) $(HTML_TARGETS) $(PDF_TARGETS) $(PS_TARGETS)
elisp-bytecode.pdf: $(TOP_SRC) $(srcs)
$(ENVADD) $(TEXI2PDF) $<
clean: