From f5712ca277d21cc72183038c482cf2bbfe9a320a Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 26 Feb 2017 21:44:17 +0000 Subject: Makefile.am: Remove distribution man pages when running 'make clean' --- docs/libcurl/Makefile.am | 7 +++++-- docs/libcurl/opts/Makefile.am | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'docs/libcurl') 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=. $< >$@ -- cgit v1.2.3