Skip to content

Commit 7264b6e

Browse files
authored
Merge pull request #11960 from bwbarrett/bugfix/no-prrte-docs-cleanup
docs: Fix build case with --disable-prrte
2 parents 993f004 + 5adb240 commit 7264b6e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/Makefile.am

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -962,10 +962,9 @@ $(builddir)/schizo-ompi-rst-content/schizo-ompi-cli.rstxt: $(OMPI_SCHIZO_OMPI_RS
962962
else
963963
$(builddir)/schizo-ompi-rst-content/schizo-ompi-cli.rstxt: $(builddir)/schizo-ompi-rst-content
964964
$(builddir)/schizo-ompi-rst-content/schizo-ompi-cli.rstxt: $(srcdir)/no-prrte-content.rst.txt
965-
if test ! -d "$$dir"; then mkdir "$$dir"; fi
965+
dir=`dirname $@`; if test ! -d "$$dir"; then mkdir "$$dir"; fi
966966
$(OMPI_V_SPHINX_COPYRST) \
967-
dir=`dirname $@`; \
968-
cp -pf $(srcdir)/no-prrte-content.rst.txt "$$dir"
967+
cp -pf $(srcdir)/no-prrte-content.rst.txt "$@"
969968
endif
970969

971970
$(ALL_MAN_BUILT): $(builddir)/prrte-rst-content

0 commit comments

Comments
 (0)