]> granicus.if.org Git - curl/commitdiff
Prevent copying 'sourced' manpages for build targets that don't use them.
authorYang Tse <yangsita@gmail.com>
Tue, 26 May 2009 13:43:25 +0000 (13:43 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 26 May 2009 13:43:25 +0000 (13:43 +0000)
ares/Makefile.am

index de2ae90e73f88fe69b60a22d6f63b72cc19ea89c..8dd89944c83d7d27369ba32c97964d0da0500060 100644 (file)
@@ -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'`; \