summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-26 13:43:25 +0000
committerYang Tse <yangsita@gmail.com>2009-05-26 13:43:25 +0000
commitacd2aeb3880865ede7a338e9fd06fe41ae6ce4ee (patch)
tree81c1dea1a869255a6dacd50c649201f921b9671f /Makefile.am
parent179a0d2b288e1a1633e5802f696936dc1c60a06d (diff)
downloadc-ares-acd2aeb3880865ede7a338e9fd06fe41ae6ce4ee.tar.gz
c-ares-acd2aeb3880865ede7a338e9fd06fe41ae6ce4ee.tar.bz2
c-ares-acd2aeb3880865ede7a338e9fd06fe41ae6ce4ee.zip
Prevent copying 'sourced' manpages for build targets that don't use them.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index de2ae90..8dd8994 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -115,7 +115,6 @@ acountry_LDADD = $(top_builddir)/$(lib_LTLIBRARIES)
SOURCEDMANDIR = man3
SOURCEDMANPAGES = ares_init.3
-SOURCINGMANPAGES = ares_init_options.3
clean-local: clean-sourced-manpages
@@ -135,18 +134,16 @@ sourced-manpages: clean-sourced-manpages
fi; \
done
-$(SOURCINGMANPAGES): sourced-manpages
-
MAN2HTML = roffit --mandir=. < $< >$@
SUFFIXES = .3 .html
-html: $(HTMLPAGES)
+html: sourced-manpages $(HTMLPAGES)
.3.html:
$(MAN2HTML)
-pdf: $(PDFPAGES)
+pdf: sourced-manpages $(PDFPAGES)
.3.pdf:
@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \