2016-12-17 07:23:04 +08:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
|
|
|
#
|
2023-01-02 20:51:48 +08:00
|
|
|
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2016-12-17 07:23:04 +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.
|
2016-12-17 07:23:04 +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
|
|
|
#
|
2016-12-17 07:23:04 +08:00
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
|
2016-11-16 22:43:16 +08:00
|
|
|
MANPAGE = $(top_builddir)/docs/curl.1
|
|
|
|
|
2017-02-26 06:38:25 +08:00
|
|
|
include Makefile.inc
|
2016-11-16 22:43:16 +08:00
|
|
|
|
2017-03-30 14:12:37 +08:00
|
|
|
EXTRA_DIST = $(DPAGES) MANPAGE.md gen.pl $(OTHERPAGES) CMakeLists.txt
|
2016-11-16 22:43:16 +08:00
|
|
|
|
2023-02-13 22:34:54 +08:00
|
|
|
GEN = $(GN_$(V))
|
|
|
|
GN_0 = @echo " GENERATE" $@;
|
|
|
|
GN_1 =
|
|
|
|
GN_ = $(GN_0)
|
|
|
|
|
2016-11-16 22:43:16 +08:00
|
|
|
all: $(MANPAGE)
|
|
|
|
|
2023-02-22 00:17:49 +08:00
|
|
|
$(MANPAGE): $(DPAGES) $(OTHERPAGES) Makefile.inc gen.pl
|
2023-02-13 22:34:54 +08:00
|
|
|
$(GEN)(rm -f $(MANPAGE) && cd $(srcdir) && @PERL@ ./gen.pl mainpage $(DPAGES) > $(builddir)/manpage.tmp && mv $(builddir)/manpage.tmp $(MANPAGE))
|