diff options
author | Steve Brokenshire <sbrokenshire@xestia.co.uk> | 2017-02-26 21:44:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-03-07 23:27:31 +0100 |
commit | f5712ca277d21cc72183038c482cf2bbfe9a320a (patch) | |
tree | 4e0e1cd113cfbbd0f8af937da45f3f458d47e24f /docs | |
parent | e159fff13db40de761890aa840500b061f31a3fc (diff) | |
download | curl-f5712ca277d21cc72183038c482cf2bbfe9a320a.tar.gz |
Makefile.am: Remove distribution man pages when running 'make clean'
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile.am | 3 | ||||
-rw-r--r-- | docs/libcurl/Makefile.am | 7 | ||||
-rw-r--r-- | docs/libcurl/opts/Makefile.am | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index ee8f60718..eee44d875 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -26,12 +26,13 @@ man_MANS = curl.1 curl-config.1 noinst_man_MANS = mk-ca-bundle.1 GENHTMLPAGES = curl.html curl-config.html mk-ca-bundle.html PDFPAGES = curl.pdf curl-config.pdf mk-ca-bundle.pdf +MANDISTPAGES = curl.1.dist curl-config.1.dist HTMLPAGES = $(GENHTMLPAGES) index.html SUBDIRS = examples libcurl cmdline-opts -CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES) curl.1 +CLEANFILES = $(GENHTMLPAGES) $(PDFPAGES) $(MANDISTPAGES) curl.1 EXTRA_DIST = MANUAL BUGS CONTRIBUTE.md FAQ FEATURES INTERNALS.md SSLCERTS.md \ README.win32 RESOURCES TODO TheArtOfHttpScripting THANKS VERSIONS KNOWN_BUGS \ 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=. $< >$@ |