summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: f135953e4493fa1705cc3afb2f8933841fc6449a (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
all: manual.pdf manual.html

manual.pdf: arch.pdf manual.texi
manual.html: arch.png manual.texi

%.png: %.dot
	dot -Tpng $< > $@
%.pdf: %.dot
	dot -Tpdf $< > $@

clean-local:
	-rm -f arch.png arch.pdf arch-api.png arch-api.pdf

merchant-api-curl.pdf: merchant-api.content.texi arch-api.pdf
merchant-api-python.pdf: merchant-api.content.texi arch-api.pdf
merchant-api-curl.html: merchant-api.content.texi arch-api.png
merchant-api-python.html: merchant-api.content.texi arch-api.png

# NOTE: While GNU makeinfo 6.5 supports --css-ref=URL,
# makeinfo 4.8 (in NetBSD 8.0, macOS, and maybe other
# base) does only support --css-include=FILE.
# The only difference is a shorter html output and
# in 6.5 the ability to use refs instead of include.
# We prefer not to break builds in this case, so
# we use the include version which is backwards compatible
# and upwards compatible, while the ref variant is neither.

AM_MAKEINFOHTMLFLAGS = --no-split --css-include=docstyle.css --css-include=brown-paper.css

man_MANS = \
  taler-merchant-benchmark.1 \
  taler-merchant-httpd.1

info_TEXINFOS = \
  manual.texi \
  merchant-api-python.texi \
  merchant-api-curl.texi \
  merchant-api-php.texi

manual_TEXINFOS = \
  version-manual.texi \
  merchant-api.content.texi

merchant_api_python_TEXINFOS = \
  version-merchant-api-python.texi \
  merchant-api.content.texi

merchant_api_curl_TEXINFOS = \
  version-merchant-api-curl.texi \
  merchant-api.content.texi

merchant_api_php_TEXINFOS = \
  version-merchant-api-php.texi \
  merchant-api.content.texi

extra_TEXINFOS = \
  fdl-1.3.texi \
  agpl.texi \
  syntax.texi \
  merchant-api.content.texi

EXTRA_DIST = \
  arch.dot \
  $(extra_TEXINFOS) \
  docstyle.css \
  brown-paper.css \
  $(man_MANS)

DISTCLEANFILES = \
  manual.cps \
  manual.dvi