2011-03-23 05:48:11 +08:00
|
|
|
#***************************************************************************
|
|
|
|
# _ _ ____ _
|
|
|
|
# Project ___| | | | _ \| |
|
|
|
|
# / __| | | | |_) | |
|
|
|
|
# | (__| |_| | _ <| |___
|
|
|
|
# \___|\___/|_| \_\_____|
|
2000-07-29 23:34:32 +08:00
|
|
|
#
|
2016-03-14 17:31:36 +08:00
|
|
|
# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2000-07-29 23:34:32 +08:00
|
|
|
#
|
2011-03-23 05:48:11 +08:00
|
|
|
# This software is licensed as described in the file COPYING, which
|
|
|
|
# you should have received as part of this distribution. The terms
|
2016-02-03 07:19:02 +08:00
|
|
|
# are also available at https://curl.haxx.se/docs/copyright.html.
|
2011-03-23 05:48:11 +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.
|
|
|
|
#
|
|
|
|
###########################################################################
|
2000-07-29 23:34:32 +08:00
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
|
2013-08-08 15:45:51 +08:00
|
|
|
man_MANS = curl.1 curl-config.1
|
|
|
|
noinst_man_MANS = mk-ca-bundle.1
|
2012-04-28 01:53:19 +08:00
|
|
|
GENHTMLPAGES = curl.html curl-config.html mk-ca-bundle.html
|
|
|
|
PDFPAGES = curl.pdf curl-config.pdf mk-ca-bundle.pdf
|
2004-03-05 16:01:55 +08:00
|
|
|
|
|
|
|
HTMLPAGES = $(GENHTMLPAGES) index.html
|
2002-03-04 18:27:37 +08:00
|
|
|
|
|
|
|
SUBDIRS = examples libcurl
|
2001-08-21 17:16:09 +08:00
|
|
|
|
2004-03-05 16:01:55 +08:00
|
|
|
CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES)
|
2004-03-02 16:28:23 +08:00
|
|
|
|
2016-08-09 18:03:46 +08:00
|
|
|
EXTRA_DIST = MANUAL BUGS CONTRIBUTE.md FAQ FEATURES INTERNALS.md SSLCERTS.md \
|
2016-03-29 14:53:40 +08:00
|
|
|
README.win32 RESOURCES TODO TheArtOfHttpScripting THANKS VERSIONS \
|
2016-08-09 18:05:43 +08:00
|
|
|
KNOWN_BUGS BINDINGS $(man_MANS) $(HTMLPAGES) HISTORY.md INSTALL \
|
2016-08-09 21:04:50 +08:00
|
|
|
$(PDFPAGES) LICENSE-MIXING.md README.netware INSTALL.devcpp \
|
2016-08-09 20:47:20 +08:00
|
|
|
MAIL-ETIQUETTE HTTP-COOKIES.md SECURITY.md RELEASE-PROCEDURE SSL-PROBLEMS.md \
|
2016-05-18 16:35:15 +08:00
|
|
|
HTTP2.md ROADMAP.md CODE_OF_CONDUCT.md CODE_STYLE.md CHECKSRC.md
|
2001-01-08 21:39:21 +08:00
|
|
|
|
2016-03-22 17:46:08 +08:00
|
|
|
MAN2HTML= roffit $< >$@
|
2001-08-21 17:16:09 +08:00
|
|
|
|
2003-10-17 21:31:39 +08:00
|
|
|
SUFFIXES = .1 .html .pdf
|
2001-08-21 17:16:09 +08:00
|
|
|
|
|
|
|
html: $(HTMLPAGES)
|
2015-11-20 06:23:11 +08:00
|
|
|
cd libcurl && make html
|
2001-08-21 17:16:09 +08:00
|
|
|
|
2003-10-17 21:31:39 +08:00
|
|
|
pdf: $(PDFPAGES)
|
2015-11-20 06:23:11 +08:00
|
|
|
cd libcurl && make pdf
|
2001-08-21 17:16:09 +08:00
|
|
|
|
|
|
|
.1.html:
|
|
|
|
$(MAN2HTML)
|
2002-10-14 15:39:49 +08:00
|
|
|
|
2003-10-17 21:31:39 +08:00
|
|
|
.1.pdf:
|
|
|
|
@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
|
|
|
|
groff -Tps -man $< >$$foo.ps; \
|
|
|
|
ps2pdf $$foo.ps $@; \
|
|
|
|
rm $$foo.ps; \
|
|
|
|
echo "converted $< to $@")
|
2002-10-14 15:39:49 +08:00
|
|
|
|