mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2024-11-29 20:49:17 +00:00
21a30d2ca0
- Add a documentation directory to start documenting the firmware in sphinx. c - Fix cmake scripts to generate files needed to make hex files available for download - expand build script to automate the cmake file generation and builds for each architecture, install the python virtual environment needed for sphinx, and and to populate the sphinx source tree with links to built hex files.
21 lines
638 B
Makefile
21 lines
638 B
Makefile
# Minimal makefile for Sphinx documentation
|
|
#
|
|
|
|
# You can set these variables from the command line, and also
|
|
# from the environment for the first two.
|
|
SPHINXOPTS ?=
|
|
SPHINXBUILD ?= sphinx-build
|
|
SOURCEDIR = source
|
|
BUILDDIR = build
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
help:
|
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
|
|
.PHONY: help Makefile
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
%: Makefile
|
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|