aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>2017-02-26 21:44:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2017-03-07 23:27:31 +0100
commitf5712ca277d21cc72183038c482cf2bbfe9a320a (patch)
tree4e0e1cd113cfbbd0f8af937da45f3f458d47e24f /docs/libcurl
parente159fff13db40de761890aa840500b061f31a3fc (diff)
Makefile.am: Remove distribution man pages when running 'make clean'
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/Makefile.am7
-rw-r--r--docs/libcurl/opts/Makefile.am4
2 files changed, 8 insertions, 3 deletions
diff --git a/docs/libcurl/Makefile.am b/docs/libcurl/Makefile.am
index 225fa9ffb..a27e60745 100644
--- a/docs/libcurl/Makefile.am
+++ b/docs/libcurl/Makefile.am
@@ -43,14 +43,17 @@ man_MANS = curl_easy_cleanup.3 curl_easy_getinfo.3 curl_easy_init.3 \
curl_multi_socket_action.3 curl_multi_wait.3 libcurl-symbols.3 \
libcurl-thread.3 curl_multi_socket_all.3
+man_DISTMANS = $(man_MANS:.3=.3.dist)
+
HTMLPAGES = $(man_MANS:.3=.html)
PDFPAGES = $(man_MANS:.3=.pdf)
-
+
m4macrodir = $(datadir)/aclocal
dist_m4macro_DATA = libcurl.m4
-CLEANFILES = $(HTMLPAGES) $(PDFPAGES) $(TESTS) libcurl-symbols.3
+CLEANFILES = $(HTMLPAGES) $(PDFPAGES) $(TESTS) $(man_DISTMANS) \
+ libcurl-symbols.3
EXTRA_DIST = $(man_MANS) index.html ABI symbols-in-versions symbols.pl \
mksymbolsmanpage.pl
diff --git a/docs/libcurl/opts/Makefile.am b/docs/libcurl/opts/Makefile.am
index 2392fb7db..5829a144f 100644
--- a/docs/libcurl/opts/Makefile.am
+++ b/docs/libcurl/opts/Makefile.am
@@ -333,11 +333,13 @@ man_MANS = \
CURLOPT_XFERINFOFUNCTION.3 \
CURLOPT_XOAUTH2_BEARER.3
+man_DISTMANS = $(man_MANS:.3=.3.dist)
+
HTMLPAGES = $(man_MANS:.3=.html)
PDFPAGES = $(man_MANS:.3=.pdf)
-CLEANFILES = $(HTMLPAGES) $(PDFPAGES)
+CLEANFILES = $(HTMLPAGES) $(PDFPAGES) $(man_DISTMANS)
EXTRA_DIST = $(man_MANS)
MAN2HTML= roffit --mandir=. $< >$@