Fix parallel build in doc directory.

docbook2man has fixed output file names; place output in a subdirectory to
avoid collisions.
This commit is contained in:
Keith Packard 2007-11-05 16:08:55 -08:00
parent 37e9d33950
commit ed7955a58f
1 changed files with 5 additions and 3 deletions

View File

@ -118,9 +118,11 @@ $(man3_MANS): func.refs
func.refs: local-fontconfig-devel.sgml $(DOC_FUNCS_SGML) version.sgml confdir.sgml func.refs: local-fontconfig-devel.sgml $(DOC_FUNCS_SGML) version.sgml confdir.sgml
$(RM) func.refs $(RM) func.refs
$(DOC2MAN) local-fontconfig-devel.sgml && \ $(DOC2MAN) -o devel-man local-fontconfig-devel.sgml && \
mv manpage.refs func.refs mv devel-man/manpage.refs func.refs && \
$(RM) manpage.links mv devel-man/*.3 . && \
$(RM) devel-man/manpage.links && \
rmdir devel-man
local-fontconfig-devel.sgml: fontconfig-devel.sgml local-fontconfig-devel.sgml: fontconfig-devel.sgml
$(LN_S) $< $@ $(LN_S) $< $@