aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/Makefile.am
blob: 0ece2bfb9009716ca913c466350fd608011e2b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#***************************************************************************
#                                  _   _ ____  _
#  Project                     ___| | | |  _ \| |
#                             / __| | | | |_) | |
#                            | (__| |_| |  _ <| |___
#                             \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://curl.haxx.se/docs/copyright.html.
#
# 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.
#
###########################################################################

AUTOMAKE_OPTIONS = foreign no-dependencies

man_MANS = CURLOPT_APPEND.3 CURLOPT_CLOSESOCKETDATA.3			   \
 CURLOPT_CLOSESOCKETFUNCTION.3 CURLOPT_COOKIE.3 CURLOPT_COOKIEFILE.3	   \
 CURLOPT_CRLF.3 CURLOPT_CUSTOMREQUEST.3 CURLOPT_DIRLISTONLY.3		   \
 CURLOPT_ERRORBUFFER.3 CURLOPT_FAILONERROR.3 CURLOPT_FTPPORT.3		   \
 CURLOPT_HEADER.3 CURLOPT_HEADERDATA.3 CURLOPT_HEADERFUNCTION.3		   \
 CURLOPT_HTTPHEADER.3 CURLOPT_HTTPPOST.3 CURLOPT_INFILESIZE.3		   \
 CURLOPT_IOCTLDATA.3 CURLOPT_IOCTLFUNCTION.3 CURLOPT_KEYPASSWD.3	   \
 CURLOPT_LOW_SPEED_LIMIT.3 CURLOPT_LOW_SPEED_TIME.3 CURLOPT_NETRC.3	   \
 CURLOPT_NOBODY.3 CURLOPT_NOPROGRESS.3 CURLOPT_NOSIGNAL.3		   \
 CURLOPT_OPENSOCKETDATA.3 CURLOPT_OPENSOCKETFUNCTION.3 CURLOPT_PORT.3	   \
 CURLOPT_POST.3 CURLOPT_POSTFIELDS.3 CURLOPT_POSTQUOTE.3		   \
 CURLOPT_PROGRESSDATA.3 CURLOPT_PROGRESSFUNCTION.3 CURLOPT_PROXY.3	   \
 CURLOPT_PROXYUSERPWD.3 CURLOPT_QUOTE.3 CURLOPT_RANGE.3 CURLOPT_READDATA.3 \
 CURLOPT_READFUNCTION.3 CURLOPT_REFERER.3 CURLOPT_RESUME_FROM.3		   \
 CURLOPT_SEEKDATA.3 CURLOPT_SEEKFUNCTION.3 CURLOPT_SOCKOPTDATA.3	   \
 CURLOPT_SOCKOPTFUNCTION.3 CURLOPT_SSLCERT.3 CURLOPT_SSLVERSION.3	   \
 CURLOPT_STDERR.3 CURLOPT_TIMECONDITION.3 CURLOPT_TIMEOUT.3		   \
 CURLOPT_TIMEVALUE.3 CURLOPT_UPLOAD.3 CURLOPT_URL.3 CURLOPT_USERAGENT.3	   \
 CURLOPT_USERPWD.3 CURLOPT_VERBOSE.3 CURLOPT_WILDCARDMATCH.3		   \
 CURLOPT_WRITEDATA.3 CURLOPT_WRITEFUNCTION.3 CURLOPT_XFERINFODATA.3	   \
 CURLOPT_XFERINFOFUNCTION.3

HTMLPAGES = CURLOPT_APPEND.html CURLOPT_CLOSESOCKETDATA.html		  \
 CURLOPT_CLOSESOCKETFUNCTION.html CURLOPT_COOKIE.html			  \
 CURLOPT_COOKIEFILE.html CURLOPT_CRLF.html CURLOPT_CUSTOMREQUEST.html	  \
 CURLOPT_DIRLISTONLY.html CURLOPT_ERRORBUFFER.html			  \
 CURLOPT_FAILONERROR.html CURLOPT_FTPPORT.html CURLOPT_HEADER.html	  \
 CURLOPT_HEADERDATA.html CURLOPT_HEADERFUNCTION.html			  \
 CURLOPT_HTTPHEADER.html CURLOPT_HTTPPOST.html CURLOPT_INFILESIZE.html	  \
 CURLOPT_IOCTLDATA.html CURLOPT_IOCTLFUNCTION.html CURLOPT_KEYPASSWD.html \
 CURLOPT_LOW_SPEED_LIMIT.html CURLOPT_LOW_SPEED_TIME.html		  \
 CURLOPT_NETRC.html CURLOPT_NOBODY.html CURLOPT_NOPROGRESS.html		  \
 CURLOPT_NOSIGNAL.html CURLOPT_OPENSOCKETDATA.html			  \
 CURLOPT_OPENSOCKETFUNCTION.html CURLOPT_PORT.html CURLOPT_POST.html	  \
 CURLOPT_POSTFIELDS.html CURLOPT_POSTQUOTE.html CURLOPT_PROGRESSDATA.html \
 CURLOPT_PROGRESSFUNCTION.html CURLOPT_PROXY.html			  \
 CURLOPT_PROXYUSERPWD.html CURLOPT_QUOTE.html CURLOPT_RANGE.html	  \
 CURLOPT_READDATA.html CURLOPT_READFUNCTION.html CURLOPT_REFERER.html	  \
 CURLOPT_RESUME_FROM.html CURLOPT_SEEKDATA.html CURLOPT_SEEKFUNCTION.html \
 CURLOPT_SOCKOPTDATA.html CURLOPT_SOCKOPTFUNCTION.html			  \
 CURLOPT_SSLCERT.html CURLOPT_SSLVERSION.html CURLOPT_STDERR.html	  \
 CURLOPT_TIMECONDITION.html CURLOPT_TIMEOUT.html CURLOPT_TIMEVALUE.html	  \
 CURLOPT_UPLOAD.html CURLOPT_URL.html CURLOPT_USERAGENT.html		  \
 CURLOPT_USERPWD.html CURLOPT_VERBOSE.html CURLOPT_WILDCARDMATCH.html	  \
 CURLOPT_WRITEDATA.html CURLOPT_WRITEFUNCTION.html			  \
 CURLOPT_XFERINFODATA.html CURLOPT_XFERINFOFUNCTION.html

PDFPAGES = CURLOPT_APPEND.pdf CURLOPT_CLOSESOCKETDATA.pdf		   \
 CURLOPT_CLOSESOCKETFUNCTION.pdf CURLOPT_COOKIE.pdf CURLOPT_COOKIEFILE.pdf \
 CURLOPT_CRLF.pdf CURLOPT_CUSTOMREQUEST.pdf CURLOPT_DIRLISTONLY.pdf	   \
 CURLOPT_ERRORBUFFER.pdf CURLOPT_FAILONERROR.pdf CURLOPT_FTPPORT.pdf	   \
 CURLOPT_HEADER.pdf CURLOPT_HEADERDATA.pdf CURLOPT_HEADERFUNCTION.pdf	   \
 CURLOPT_HTTPHEADER.pdf CURLOPT_HTTPPOST.pdf CURLOPT_INFILESIZE.pdf	   \
 CURLOPT_IOCTLDATA.pdf CURLOPT_IOCTLFUNCTION.pdf CURLOPT_KEYPASSWD.pdf	   \
 CURLOPT_LOW_SPEED_LIMIT.pdf CURLOPT_LOW_SPEED_TIME.pdf CURLOPT_NETRC.pdf  \
 CURLOPT_NOBODY.pdf CURLOPT_NOPROGRESS.pdf CURLOPT_NOSIGNAL.pdf		   \
 CURLOPT_OPENSOCKETDATA.pdf CURLOPT_OPENSOCKETFUNCTION.pdf		   \
 CURLOPT_PORT.pdf CURLOPT_POST.pdf CURLOPT_POSTFIELDS.pdf		   \
 CURLOPT_POSTQUOTE.pdf CURLOPT_PROGRESSDATA.pdf				   \
 CURLOPT_PROGRESSFUNCTION.pdf CURLOPT_PROXY.pdf CURLOPT_PROXYUSERPWD.pdf   \
 CURLOPT_QUOTE.pdf CURLOPT_RANGE.pdf CURLOPT_READDATA.pdf		   \
 CURLOPT_READFUNCTION.pdf CURLOPT_REFERER.pdf CURLOPT_RESUME_FROM.pdf	   \
 CURLOPT_SEEKDATA.pdf CURLOPT_SEEKFUNCTION.pdf CURLOPT_SOCKOPTDATA.pdf	   \
 CURLOPT_SOCKOPTFUNCTION.pdf CURLOPT_SSLCERT.pdf CURLOPT_SSLVERSION.pdf	   \
 CURLOPT_STDERR.pdf CURLOPT_TIMECONDITION.pdf CURLOPT_TIMEOUT.pdf	   \
 CURLOPT_TIMEVALUE.pdf CURLOPT_UPLOAD.pdf CURLOPT_URL.pdf		   \
 CURLOPT_USERAGENT.pdf CURLOPT_USERPWD.pdf CURLOPT_VERBOSE.pdf		   \
 CURLOPT_WILDCARDMATCH.pdf CURLOPT_WRITEDATA.pdf CURLOPT_WRITEFUNCTION.pdf \
 CURLOPT_XFERINFODATA.pdf CURLOPT_XFERINFOFUNCTION.pdf

CLEANFILES = $(HTMLPAGES) $(PDFPAGES)

EXTRA_DIST = $(man_MANS) $(HTMLPAGES) $(PDFPAGES)
MAN2HTML= roffit --mandir=. < $< >$@

SUFFIXES = .3 .html

html: $(HTMLPAGES)

.3.html:
	$(MAN2HTML)

pdf: $(PDFPAGES)

.3.pdf:
	@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
	groff -Tps -man $< >$$foo.ps; \
	ps2pdf $$foo.ps $@; \
	rm $$foo.ps; \
	echo "converted $< to $@")

mancheck:
	ls `awk -F, '/^  CINIT/ { a=substr($$1, 9); print "CURLOPT_" a ".3"}' $(top_srcdir)/include/curl/curl.h`