2011-03-12 07:14:32 +08:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
2002-03-04 18:09:48 +08:00
|
|
|
#
|
2023-01-02 20:51:48 +08:00
|
|
|
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2002-03-04 18:09:48 +08:00
|
|
|
#
|
2011-03-12 07:14:32 +08:00
|
|
|
# This software is licensed as described in the file COPYING, which
|
|
|
|
# you should have received as part of this distribution. The terms
|
2020-11-04 21:02:01 +08:00
|
|
|
# are also available at https://curl.se/docs/copyright.html.
|
2011-03-12 07:14:32 +08:00
|
|
|
#
|
|
|
|
# You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
# copies of the Software, and permit persons to whom the Software is
|
|
|
|
# furnished to do so, under the terms of the COPYING file.
|
|
|
|
#
|
|
|
|
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
# KIND, either express or implied.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: curl
|
2022-05-17 17:16:50 +08:00
|
|
|
#
|
2011-03-12 07:14:32 +08:00
|
|
|
###########################################################################
|
2002-03-04 18:09:48 +08:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
|
2014-06-17 06:29:02 +08:00
|
|
|
SUBDIRS = opts
|
|
|
|
|
2024-02-06 07:00:35 +08:00
|
|
|
if BUILD_DOCS
|
2017-02-26 06:38:25 +08:00
|
|
|
include Makefile.inc
|
2002-03-04 18:09:48 +08:00
|
|
|
|
2024-01-17 18:32:44 +08:00
|
|
|
CURLPAGES = $(man_MANS:.3=.md)
|
2024-02-06 07:00:35 +08:00
|
|
|
endif
|
2017-03-30 14:12:37 +08:00
|
|
|
|
2013-10-14 01:39:42 +08:00
|
|
|
m4macrodir = $(datadir)/aclocal
|
|
|
|
dist_m4macro_DATA = libcurl.m4
|
|
|
|
|
2024-01-17 18:32:44 +08:00
|
|
|
CLEANFILES = $(man_MANS) libcurl-symbols.md
|
2003-08-12 16:51:23 +08:00
|
|
|
|
2024-01-17 18:32:44 +08:00
|
|
|
EXTRA_DIST = $(CURLPAGES) ABI.md symbols-in-versions symbols.pl \
|
2017-03-30 14:12:37 +08:00
|
|
|
mksymbolsmanpage.pl CMakeLists.txt
|
2002-10-14 15:39:49 +08:00
|
|
|
|
2024-02-06 07:00:35 +08:00
|
|
|
if BUILD_DOCS
|
|
|
|
|
2024-01-17 18:32:44 +08:00
|
|
|
CD2NROFF = $(top_srcdir)/scripts/cd2nroff $< >$@
|
|
|
|
CD2 = $(CD2_$(V))
|
|
|
|
CD2_0 = @echo " RENDER " $@;
|
|
|
|
CD2_1 =
|
|
|
|
CD2_ = $(CD2_0)
|
2015-03-19 06:21:46 +08:00
|
|
|
|
2024-01-17 18:32:44 +08:00
|
|
|
SUFFIXES = .3 .md
|
2015-03-19 06:21:46 +08:00
|
|
|
|
2024-01-17 18:32:44 +08:00
|
|
|
libcurl-symbols.md: $(srcdir)/symbols-in-versions $(srcdir)/mksymbolsmanpage.pl
|
|
|
|
$(CD2)perl $(srcdir)/mksymbolsmanpage.pl < $(srcdir)/symbols-in-versions > $@
|
2015-03-19 06:21:46 +08:00
|
|
|
|
2024-01-17 18:32:44 +08:00
|
|
|
.md.3:
|
|
|
|
$(CD2)$(CD2NROFF)
|
2024-02-06 07:00:35 +08:00
|
|
|
|
|
|
|
endif
|