Skip to content

Commit 5adb240

Browse files
committed
docs: Fix build case with --disable-prrte
Fix a small issue in properly setting filename when building the empty schizo rst file. Signed-off-by: Brian Barrett <bbarrett@amazon.com>
1 parent 993f004 commit 5adb240

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)