blob: 5f111c4d3bb3283df71999a392135082f35c434d (
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
SRCS= \
conf.py ../src/version.in \
prolog.inc shields.json shieldswho.json \
about.rst \
appendix/Meta.rst \
appendix/Roadmap.rst \
contribute.rst \
genindex.rst \
getting/Directories.rst \
getting/GCC.rst \
getting/index.rst \
getting/LLVM.rst \
getting/mcode.rst \
getting/PrecompileVendorPrimitives.rst \
getting/Releases.rst \
index.rst \
licenses.rst \
references/CodingStyle.rst \
references/CommandReference.rst \
references/ImplementationOfVHDL.rst \
references/ImplementationOfVITAL.rst \
using/Foreign.rst \
using/InvokingGHDL.rst \
using/QuickStartGuide.rst \
using/Simulation.rst
CP=cp
# Sphinx options.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -T -D language=en $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
all: ghdl.info
#---
man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
#---
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
#---
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
#---
texi: ghdl.texi
ghdl.texi: $(SRCS)
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
$(CP) $(BUILDDIR)/texinfo/GHDL.texi $@
info: ghdl.info
ghdl.info: ghdl.texi
makeinfo -o $@ $<
dvi: ghdl.dvi
ghdl.dvi: ghdl.texi
texi2dvi $<
ghdl.ps: ghdl.dvi
dvips $<
pdf: ghdl.pdf
ghdl.pdf: ghdl.dvi
dvipdf $<
#---
clean:
$(RM) *~ *.dvi *.info ghdl.aux ghdl.cp ghdl.fn ghdl.ky ghdl.log
$(RM) ghdl.pdf ghdl.pg ghdl.toc ghdl.tp ghdl.vr
$(RM) -rf build
maintainer-clean: clean
$(RM) ghdl.texi
|