aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/Makefile.am
blob: d4f8a10086001e3a69bc83ba18fad77f74889c30 (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
#
# $Id$
#

AUTOMAKE_OPTIONS = foreign no-dependencies

man_MANS = curl_easy_cleanup.3 curl_easy_getinfo.3 curl_easy_init.3	\
 curl_easy_perform.3 curl_easy_setopt.3 curl_easy_duphandle.3		\
 curl_formadd.3 curl_formfree.3 curl_getdate.3 curl_getenv.3		\
 curl_slist_append.3 curl_slist_free_all.3 curl_version.3		\
 curl_version_info.3 curl_escape.3 curl_unescape.3 curl_free.3		\
 curl_strequal.3 curl_mprintf.3 curl_global_init.3			\
 curl_global_cleanup.3 curl_multi_add_handle.3 curl_multi_cleanup.3	\
 curl_multi_fdset.3 curl_multi_info_read.3 curl_multi_init.3		\
 curl_multi_perform.3 curl_multi_remove_handle.3 curl_share_cleanup.3	\
 curl_share_init.3 curl_share_setopt.3 libcurl.3 libcurl-easy.3		\
 libcurl-multi.3 libcurl-share.3 libcurl-errors.3 curl_easy_strerror.3	\
 curl_multi_strerror.3 curl_share_strerror.3 curl_global_init_mem.3	\
 libcurl-tutorial.3 curl_easy_reset.3

HTMLPAGES = curl_easy_cleanup.html curl_easy_getinfo.html		\
 curl_easy_init.html curl_easy_perform.html curl_easy_setopt.html	\
 curl_easy_duphandle.html curl_formadd.html curl_formfree.html		\
 curl_getdate.html curl_getenv.html curl_slist_append.html		\
 curl_slist_free_all.html curl_version.html curl_version_info.html	\
 curl_escape.html curl_unescape.html curl_free.html curl_strequal.html	\
 curl_mprintf.html curl_global_init.html curl_global_cleanup.html	\
 curl_multi_add_handle.html curl_multi_cleanup.html			\
 curl_multi_fdset.html curl_multi_info_read.html curl_multi_init.html	\
 curl_multi_perform.html curl_multi_remove_handle.html			\
 curl_share_cleanup.html curl_share_init.html curl_share_setopt.html	\
 libcurl.html libcurl-multi.html libcurl-easy.html libcurl-share.html	\
 libcurl-errors.html curl_easy_strerror.html curl_multi_strerror.html	\
 curl_share_strerror.html curl_global_init_mem.html			\
 libcurl-tutorial.html curl_easy_reset.html

PDFPAGES = curl_easy_cleanup.pdf curl_easy_getinfo.pdf			\
 curl_easy_init.pdf curl_easy_perform.pdf curl_easy_setopt.pdf		\
 curl_easy_duphandle.pdf curl_formadd.pdf curl_formfree.pdf		\
 curl_getdate.pdf curl_getenv.pdf curl_slist_append.pdf			\
 curl_slist_free_all.pdf curl_version.pdf curl_version_info.pdf		\
 curl_escape.pdf curl_unescape.pdf curl_free.pdf curl_strequal.pdf	\
 curl_mprintf.pdf curl_global_init.pdf curl_global_cleanup.pdf		\
 curl_multi_add_handle.pdf curl_multi_cleanup.pdf curl_multi_fdset.pdf	\
 curl_multi_info_read.pdf curl_multi_init.pdf curl_multi_perform.pdf	\
 curl_multi_remove_handle.pdf curl_share_cleanup.pdf			\
 curl_share_init.pdf curl_share_setopt.pdf libcurl.pdf			\
 libcurl-multi.pdf libcurl-easy.pdf libcurl-share.pdf			\
 libcurl-errors.pdf curl_easy_strerror.pdf curl_multi_strerror.pdf	\
 curl_share_strerror.pdf curl_global_init_mem.pdf libcurl-tutorial.pdf	\
 curl_easy_reset.pdf

CLEANFILES = $(HTMLPAGES) $(PDFPAGES)

EXTRA_DIST = $(man_MANS) $(HTMLPAGES) index.html $(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 $@")