Skip to content

Commit

Permalink
squashme: fixup of docs/Makefile.am
Browse files Browse the repository at this point in the history
This still isn't quite right yet -- the rules for prrte-rst-content
and schizo-ompi-rst-content fire more often than they need to, and
sometimes cause problems with the RST labels.

Signed-off-by: Jeff Squyres <[email protected]>
  • Loading branch information
jsquyres committed Sep 12, 2023
1 parent 4f171e5 commit 27f7ea2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ include $(top_srcdir)/Makefile.ompi-rules
# VPATH srcdir). We can have this directory in the srcdir by doing a
# VPATH build of an official distribution tarball.
$(builddir)/schizo-ompi-rst-content:
$(OMPI_V_MKDIR) mkdir "$@"
$(OMPI_V_MKDIR) if test ! -d "$@"; then mkdir "$@"; fi
if OMPI_HAVE_PRRTE_RST
$(OMPI_V_SPHINX_COPYRST) cp -r $(OMPI_SCHIZO_OMPI_RST_CONTENT_DIR)/* "$@"
else
Expand All @@ -942,7 +942,7 @@ endif
# this because Sphinx complains if there are .rst files that are not
# referenced. :-(
$(builddir)/prrte-rst-content: $(builddir)/schizo-ompi-rst-content
$(OMPI_V_MKDIR) mkdir "$@"
$(OMPI_V_MKDIR) if test ! -d "$@"; then mkdir "$@"; fi
if OMPI_HAVE_PRRTE_RST
$(OMPI_V_SPHINX_COPYRST) \
for file in `fgrep '.. include::' $(builddir)/schizo-ompi-rst-content/schizo-ompi-cli.rst | awk '{ print $$3 }'`; do \
Expand All @@ -952,6 +952,7 @@ if OMPI_HAVE_PRRTE_RST
endif

$(ALL_MAN_BUILT): $(builddir)/prrte-rst-content
$(ALL_MAN_BUILT): $(builddir)/schizo-ompi-rst-content
$(ALL_MAN_BUILT): $(RST_SOURCE_FILES) $(IMAGE_SOURCE_FILES)
$(ALL_MAN_BUILT): $(TEXT_SOURCE_FILES) $(SPHINX_CONFIG)

Expand Down

0 comments on commit 27f7ea2

Please sign in to comment.