瀏覽代碼

Add "make doc" alias to "make html"

JC Brand 9 年之前
父節點
當前提交
d349bdc17c
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -38,6 +38,7 @@ help:
 	@echo " dev           Set up the development environment. To force a fresh start, run 'make clean' first."
 	@echo " dev           Set up the development environment. To force a fresh start, run 'make clean' first."
 	@echo " epub          Export the documentation to epub."
 	@echo " epub          Export the documentation to epub."
 	@echo " html          Make standalone HTML files of the documentation."
 	@echo " html          Make standalone HTML files of the documentation."
+	@echo " doc           Same as "doc". Make standalone HTML files of the documentation."
 	@echo " linkcheck     Check all documentation external links for integrity."
 	@echo " linkcheck     Check all documentation external links for integrity."
 	@echo " po            Generate gettext PO files for each i18n language."
 	@echo " po            Generate gettext PO files for each i18n language."
 	@echo " po2json       Generate JSON files from the language PO files."
 	@echo " po2json       Generate JSON files from the language PO files."
@@ -167,6 +168,9 @@ html:
 	@echo
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 
 
+.PHONY: doc
+doc: html
+
 .PHONY: epub
 .PHONY: epub
 epub:
 epub:
 	$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
 	$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub