interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / Documentation / technical / meson.build

71 lines · 1611 bytes Raw Blame History
1api_docs = [
2 'api-error-handling.adoc',
3 'api-merge.adoc',
4 'api-parse-options.adoc',
5 'api-simple-ipc.adoc',
6 'api-trace2.adoc',
7]
8
9articles = [
10 'bitmap-format.adoc',
11 'build-systems.adoc',
12 'bundle-uri.adoc',
13 'commit-graph.adoc',
14 'connectivity-check.adoc',
15 'directory-rename-detection.adoc',
16 'hash-function-transition.adoc',
17 'large-object-promisors.adoc',
18 'long-running-process-protocol.adoc',
19 'multi-pack-index.adoc',
20 'packfile-uri.adoc',
21 'pack-heuristics.adoc',
22 'paint-down-to-common.adoc',
23 'parallel-checkout.adoc',
24 'partial-clone.adoc',
25 'platform-support.adoc',
26 'racy-git.adoc',
27 'reftable.adoc',
28 'remembering-renames.adoc',
29 'repository-version.adoc',
30 'rerere.adoc',
31 'scalar.adoc',
32 'send-pack-pipeline.adoc',
33 'shallow.adoc',
34 'sparse-checkout.adoc',
35 'sparse-index.adoc',
36 'trivial-merge.adoc',
37 'unambiguous-types.adoc',
38 'unit-tests.adoc',
39]
40
41api_index = custom_target(
42 command: [
43 shell,
44 meson.current_source_dir() / 'api-index.sh',
45 meson.current_source_dir(),
46 '@OUTPUT@',
47 ],
48 env: script_environment,
49 input: api_docs,
50 output: 'api-index.adoc',
51)
52
53doc_targets += custom_target(
54 command: asciidoc_html_options,
55 input: api_index,
56 output: 'api-index.html',
57 depends: documentation_deps,
58 install: true,
59 install_dir: htmldir / 'technical',
60)
61
62foreach article : api_docs + articles
63 doc_targets += custom_target(
64 command: asciidoc_html_options,
65 input: article,
66 output: fs.stem(article) + '.html',
67 depends: documentation_deps,
68 install: true,
69 install_dir: htmldir / 'technical',
70 )
71endforeach