Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/75496?usp=email )
Change subject: Docs: Add help target and .phony identifiers ......................................................................
Docs: Add help target and .phony identifiers
This change adds a help target so we can see what the valid targets are and what they do, and also identifies the phony targets.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: Ie61d44d87e8628e12d01f3355360e2a679b5ce85 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75496 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Singer service+coreboot-gerrit@felixsinger.de --- M Documentation/Makefile 1 file changed, 14 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Felix Singer: Looks good to me, approved
diff --git a/Documentation/Makefile b/Documentation/Makefile index 74e2bb8..12f0ec7 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -54,3 +54,17 @@
livesphinx: $(MAKE) -f Makefile.sphinx livehtml SPHINXOPTS="$(SPHINXOPTS)" + +help: + @echo "all - Builds coreboot porting guide PDF (outdated)" + @echo "sphinx - Builds html documentation in _build directory" + @echo "clean - Cleans intermediate files" + @echo "clean-sphinx - Removes sphinx output files" + @echo "distclean - Removes PDF files as well" + @echo + @echo " Makefile.sphinx builds - run with $(MAKE) -f Makefile-sphinx [target]" + @echo + @$(MAKE) -s -f Makefile.sphinx help 2>/dev/null + +.phony: help livesphinx sphinx test +.phony: distclean clean clean-sphinx