mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:35:59 +01:00
Really fix parallel build of manpages
Based on https://www.gnu.org/software/automake/manual/html_node/Multiple-Outputs.html. Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
06c867ffb1
commit
334189e961
1 changed files with 7 additions and 1 deletions
|
@ -22,11 +22,17 @@ $(SPHINX_BUILDDIR)/html/index.html: $(HTML_SOURCES) $(SPHINX_BUILDDIR)/doxygen/x
|
||||||
$(call colorecho,DOC,"Build HTML documentation")
|
$(call colorecho,DOC,"Build HTML documentation")
|
||||||
$(QUIET)$(SPHINX_BIN) -b html $(SPHINX_OPTS) . $(SPHINX_BUILDDIR)/html
|
$(QUIET)$(SPHINX_BIN) -b html $(SPHINX_OPTS) . $(SPHINX_BUILDDIR)/html
|
||||||
|
|
||||||
$(SPHINX_BUILDDIR)/zathura.1 $(SPHINX_BUILDDIR)/zathurarc.5: $(MAN_SOURCES)
|
$(SPHINX_BUILDDIR)/zathura.1: $(MAN_SOURCES)
|
||||||
$(QUIET)mkdir -p $(SPHINX_BUILDDIR)
|
$(QUIET)mkdir -p $(SPHINX_BUILDDIR)
|
||||||
$(call colorecho,DOC,"Build man pages")
|
$(call colorecho,DOC,"Build man pages")
|
||||||
$(QUIET)$(SPHINX_BIN) -b man $(SPHINX_OPTS) man $(SPHINX_BUILDDIR)
|
$(QUIET)$(SPHINX_BIN) -b man $(SPHINX_OPTS) man $(SPHINX_BUILDDIR)
|
||||||
|
|
||||||
|
$(SPHINX_BUILDDIR)/zathurarc.5: $(SPHINX_BUILDDIR)/zathura.1
|
||||||
|
@if test -f $@; then :; else \
|
||||||
|
rm -f $(SPHINX_BUILDDIR)/zathura.1; \
|
||||||
|
$(MAKE) $(SPHINX_BUILDDIR)/zathura.1; \
|
||||||
|
fi
|
||||||
|
|
||||||
$(SPHINX_BUILDDIR)/doxygen/xml/index.xml: $(DOXYGEN_SOURCES)
|
$(SPHINX_BUILDDIR)/doxygen/xml/index.xml: $(DOXYGEN_SOURCES)
|
||||||
$(QUIET)mkdir -p $(SPHINX_BUILDDIR)/doxygen/xml
|
$(QUIET)mkdir -p $(SPHINX_BUILDDIR)/doxygen/xml
|
||||||
$(call colorecho,DOC,"Run doxygen")
|
$(call colorecho,DOC,"Run doxygen")
|
||||||
|
|
Loading…
Reference in a new issue