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/HYPER.md \ 54 internals/LLIST.md \ 55 internals/MQTT.md \ 56 internals/NEW-PROTOCOL.md \ 57 internals/README.md \ 58 internals/SPLAY.md \ 59 internals/WEBSOCKET.md 60 61EXTRA_DIST = \ 62 $(CURLPAGES) \ 63 $(INTERNALDOCS) \ 64 BINDINGS.md \ 65 BUG-BOUNTY.md \ 66 BUGS.md \ 67 CIPHERS.md \ 68 CIPHERS-TLS12.md \ 69 CMakeLists.txt \ 70 CODE_OF_CONDUCT.md \ 71 CODE_REVIEW.md \ 72 CONTRIBUTE.md \ 73 CURL-DISABLE.md \ 74 CURLDOWN.md \ 75 DEPRECATE.md \ 76 DISTROS.md \ 77 EARLY-RELEASE.md \ 78 ECH.md \ 79 EXPERIMENTAL.md \ 80 FAQ \ 81 FEATURES.md \ 82 GOVERNANCE.md \ 83 HELP-US.md \ 84 HISTORY.md \ 85 HTTP-COOKIES.md \ 86 HTTP3.md \ 87 INSTALL \ 88 INSTALL-CMAKE.md \ 89 INSTALL.md \ 90 INTERNALS.md \ 91 IPFS.md \ 92 KNOWN_BUGS \ 93 MAIL-ETIQUETTE.md \ 94 MANUAL.md \ 95 options-in-versions \ 96 README.md \ 97 RELEASE-PROCEDURE.md \ 98 RUSTLS.md \ 99 ROADMAP.md \ 100 SECURITY-ADVISORY.md \ 101 SPONSORS.md \ 102 SSL-PROBLEMS.md \ 103 SSLCERTS.md \ 104 THANKS TODO \ 105 TheArtOfHttpScripting.md \ 106 URL-SYNTAX.md \ 107 VERSIONS.md \ 108 VULN-DISCLOSURE-POLICY.md 109 110CD2NROFF = $(top_srcdir)/scripts/cd2nroff $< >$@ 111 112CD2 = $(CD2_$(V)) 113CD2_0 = @echo " RENDER " $@; 114CD2_1 = 115CD2_ = $(CD2_0) 116 117SUFFIXES = .1 .md 118 119all: $(MK_CA_DOCS) $(CURLCONF_DOCS) 120 121.md.1: 122 $(CD2)$(CD2NROFF) 123 124curl-config.1: curl-config.md 125 126mk-ca-bundle.1: mk-ca-bundle.md 127 128distclean: 129 rm -f $(CLEANFILES) 130