mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
Prevent copying 'sourced' manpages for build targets that don't use them.
This commit is contained in:
parent
1cf6c15ab4
commit
1ad43c54c0
@ -115,7 +115,6 @@ acountry_LDADD = $(top_builddir)/$(lib_LTLIBRARIES)
|
|||||||
|
|
||||||
SOURCEDMANDIR = man3
|
SOURCEDMANDIR = man3
|
||||||
SOURCEDMANPAGES = ares_init.3
|
SOURCEDMANPAGES = ares_init.3
|
||||||
SOURCINGMANPAGES = ares_init_options.3
|
|
||||||
|
|
||||||
clean-local: clean-sourced-manpages
|
clean-local: clean-sourced-manpages
|
||||||
|
|
||||||
@ -135,18 +134,16 @@ sourced-manpages: clean-sourced-manpages
|
|||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
$(SOURCINGMANPAGES): sourced-manpages
|
|
||||||
|
|
||||||
MAN2HTML = roffit --mandir=. < $< >$@
|
MAN2HTML = roffit --mandir=. < $< >$@
|
||||||
|
|
||||||
SUFFIXES = .3 .html
|
SUFFIXES = .3 .html
|
||||||
|
|
||||||
html: $(HTMLPAGES)
|
html: sourced-manpages $(HTMLPAGES)
|
||||||
|
|
||||||
.3.html:
|
.3.html:
|
||||||
$(MAN2HTML)
|
$(MAN2HTML)
|
||||||
|
|
||||||
pdf: $(PDFPAGES)
|
pdf: sourced-manpages $(PDFPAGES)
|
||||||
|
|
||||||
.3.pdf:
|
.3.pdf:
|
||||||
@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
|
@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user