1 #***************************************************************************
3 # Project ___| | | | _ \| |
5 # | (__| |_| | _ <| |___
6 # \___|\___/|_| \_\_____|
8 # Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
10 # This software is licensed as described in the file COPYING, which
11 # you should have received as part of this distribution. The terms
12 # are also available at https://curl.haxx.se/docs/copyright.html.
14 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 # copies of the Software, and permit persons to whom the Software is
16 # furnished to do so, under the terms of the COPYING file.
18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 # KIND, either express or implied.
21 ###########################################################################
23 AUTOMAKE_OPTIONS = foreign no-dependencies
27 man_DISTMANS = $(man_MANS:.3=.3.dist)
29 HTMLPAGES = $(man_MANS:.3=.html)
31 PDFPAGES = $(man_MANS:.3=.pdf)
33 CLEANFILES = $(HTMLPAGES) $(PDFPAGES) $(man_DISTMANS)
35 EXTRA_DIST = $(man_MANS) CMakeLists.txt
36 MAN2HTML= roffit --mandir=. $< >$@
48 @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
49 groff -Tps -man $< >$$foo.ps; \
52 echo "converted $< to $@")
55 @cd $(top_srcdir)/docs/libcurl/opts && ls `awk -F, '!/OBSOLETE/ && /^ CINIT/ { a=substr($$1, 9); print "CURLOPT_" a ".3"}' $(top_srcdir)/include/curl/curl.h`
57 @(for a in $(man_MANS); do echo $$a >>in_temp; done)
58 sort in_temp > in_makefile
59 ls CURL*.3 > in_directory
60 -diff -u in_makefile in_directory
61 rm in_temp in_directory in_makefile