xref: /curl/docs/Makefile.am (revision fc3e1cbc)
1#***************************************************************************
2#                                  _   _ ____  _
3#  Project                     ___| | | |  _ \| |
4#                             / __| | | | |_) | |
5#                            | (__| |_| |  _ <| |___
6#                             \___|\___/|_| \_\_____|
7#
8# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
9#
10# This software is licensed as described in the file COPYING, which
11# you should have received as part of this distribution. The terms
12# are also available at https://curl.se/docs/copyright.html.
13#
14# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15# copies of the Software, and permit persons to whom the Software is
16# furnished to do so, under the terms of the COPYING file.
17#
18# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19# KIND, either express or implied.
20#
21# SPDX-License-Identifier: curl
22#
23###########################################################################
24
25AUTOMAKE_OPTIONS = foreign no-dependencies
26
27if BUILD_DOCS
28# if we disable man page building, ignore these
29MK_CA_DOCS = mk-ca-bundle.1
30CURLCONF_DOCS = curl-config.1
31man_MANS = curl-config.1
32endif
33
34CURLPAGES = curl-config.md mk-ca-bundle.md
35
36SUBDIRS = . cmdline-opts libcurl
37DIST_SUBDIRS = $(SUBDIRS) examples
38
39if BUILD_DOCS
40CLEANFILES = mk-ca-bundle.1 curl-config.1
41endif
42
43INTERNALDOCS =                                  \
44 internals/BUFQ.md                              \
45 internals/BUFREF.md                            \
46 internals/CHECKSRC.md                          \
47 internals/CLIENT-READERS.md                    \
48 internals/CLIENT-WRITERS.md                    \
49 internals/CODE_STYLE.md                        \
50 internals/CONNECTION-FILTERS.md                \
51 internals/DYNBUF.md                            \
52 internals/HASH.md                              \
53 internals/LLIST.md                             \
54 internals/MQTT.md                              \
55 internals/NEW-PROTOCOL.md                      \
56 internals/README.md                            \
57 internals/SPLAY.md                             \
58 internals/STRPARSE.md                          \
59 internals/TLS-SESSIONS.md                      \
60 internals/WEBSOCKET.md
61
62EXTRA_DIST =                                    \
63 $(CURLPAGES)                                   \
64 $(INTERNALDOCS)                                \
65 ALTSVC.md                                      \
66 BINDINGS.md                                    \
67 BUG-BOUNTY.md                                  \
68 BUGS.md                                        \
69 CIPHERS.md                                     \
70 CIPHERS-TLS12.md                               \
71 CMakeLists.txt                                 \
72 CODE_OF_CONDUCT.md                             \
73 CODE_REVIEW.md                                 \
74 CONTRIBUTE.md                                  \
75 CURL-DISABLE.md                                \
76 CURLDOWN.md                                    \
77 DEPRECATE.md                                   \
78 DISTROS.md                                     \
79 EARLY-RELEASE.md                               \
80 ECH.md                                         \
81 EXPERIMENTAL.md                                \
82 FAQ                                            \
83 FEATURES.md                                    \
84 GOVERNANCE.md                                  \
85 HELP-US.md                                     \
86 HISTORY.md                                     \
87 HSTS.md                                        \
88 HTTP-COOKIES.md                                \
89 HTTP3.md                                       \
90 INSTALL                                        \
91 INSTALL-CMAKE.md                               \
92 INSTALL.md                                     \
93 INTERNALS.md                                   \
94 IPFS.md                                        \
95 KNOWN_BUGS                                     \
96 MAIL-ETIQUETTE.md                              \
97 MANUAL.md                                      \
98 options-in-versions                            \
99 README.md                                      \
100 RELEASE-PROCEDURE.md                           \
101 RUSTLS.md                                      \
102 ROADMAP.md                                     \
103 SECURITY-ADVISORY.md                           \
104 SPONSORS.md                                    \
105 SSL-PROBLEMS.md                                \
106 SSLCERTS.md                                    \
107 THANKS TODO                                    \
108 TheArtOfHttpScripting.md                       \
109 URL-SYNTAX.md                                  \
110 VERSIONS.md                                    \
111 VULN-DISCLOSURE-POLICY.md
112
113CD2NROFF = $(top_srcdir)/scripts/cd2nroff $< >$@
114
115CD2 = $(CD2_$(V))
116CD2_0 = @echo "  RENDER " $@;
117CD2_1 =
118CD2_ = $(CD2_0)
119
120SUFFIXES = .1 .md
121
122all: $(MK_CA_DOCS) $(CURLCONF_DOCS)
123
124.md.1:
125	$(CD2)$(CD2NROFF)
126
127curl-config.1: curl-config.md
128
129mk-ca-bundle.1: mk-ca-bundle.md
130
131distclean:
132	rm -f $(CLEANFILES)
133