Skip to content

Commit

Permalink
Add makefile target for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jevarlec committed May 17, 2023
1 parent a3e92b2 commit a18cba0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ iocBoot_DEPEND_DIRS += $(filter %App,$(DIRS))
# Add any additional dependency rules here:
adsExampleApp_DEPEND_DIRS += adsApp

DIRS += documentation

include $(TOP)/configure/RULES_TOP
13 changes: 11 additions & 2 deletions documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,20 @@ SOURCEDIR = source
BUILDDIR = build
SOURCE_DATE_EPOCH = 1662550710

# Put it first so that "make" without argument is like "make help".
.PHONY: all documentation clean distclean realclean help Makefile

documentation: html

help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile
clean distclean realclean:
rm -rf build

# EPICS compatibility: ignore a bunch of targets that need to be supported by
# all makefiles
all inc build install buildInstall rebuild archclean depclean cvsclean runtests tapfiles test-results clean-tests host archuninstall uninstall realuninstall:
true

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
Expand Down

0 comments on commit a18cba0

Please sign in to comment.