convenience targets for make doc_py, doc_dna, doc_man

This commit is contained in:
Campbell Barton
2011-10-16 11:09:15 +00:00
parent 3fd8a914b8
commit 92bc72dca1
2 changed files with 18 additions and 3 deletions

View File

@@ -147,6 +147,8 @@ help:
@echo ""
@echo "Documentation Targets"
@echo " * doc_py - generate sphinx python api docs"
@echo " * doc_dna - generate blender file format reference"
@echo " * doc_man - generate manpage"
@echo ""
# -----------------------------------------------------------------------------
@@ -235,6 +237,13 @@ doc_py:
cd doc/python_api ; sphinx-build -n -b html sphinx-in sphinx-out
@echo "docs written into: '$(BLENDER_DIR)/doc/python_api/sphinx-out/contents.html'"
doc_dna:
$(BUILD_DIR)/bin/blender --background --factory-startup --python doc/blender_file_format/BlendFileDnaExporter_25.py
@echo "docs written into: '$(BLENDER_DIR)/doc/blender_file_format/dna.html'"
doc_man:
python3 doc/manpage/blender.1.py $(BUILD_DIR)/bin/blender
clean:
$(MAKE) -C $(BUILD_DIR) clean