Skip to content

Commit 4cc934c

Browse files
committed
docs: Use html-local Makefile target
This avoids an Automake warning about overriding its default "html" target. Signed-off-by: Jeff Squyres <jeff@squyres.com>
1 parent 069a8c4 commit 4cc934c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/Makefile.am

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,14 @@ ALL_MAN_BUILT = \
881881
# built HTML and man docs into a separate location that is included in
882882
# the tarball. This gives users a fully copy of the docs included in
883883
# distribution tarballs.
884-
html: $(ALL_MAN_BUILT)
884+
#
885+
# Note: we name this "html-local" because otherwise Automake issues a
886+
# warning about us overriding its default "html" target. In our
887+
# particular use case, the rules generated if we name this target
888+
# "html-local" instead of "html" are effectively equivalent to when we
889+
# name this target "html", so we might as well avoid the Automake
890+
# warning.
891+
html-local: $(ALL_MAN_BUILT)
885892
$(OMPI_V_COPYALL) rm -rf html; cp -rp $(OUTDIR)/html .
886893

887894
man: $(ALL_MAN_BUILT)

0 commit comments

Comments
 (0)