12345678910111213 |
- .PHONY: build clean-examples
- build: html
- # this pattern rule lets you run "make build" (or any other target
- # in docs/Makefile) in this directory as though you were in docs/
- %:
- cd docs && make $@
- # wipe out all recorded examples
- clean-examples:
- -find docs -name _examples -type d | xargs rm -rf
- # also wipe the workdirs, otherwise a rebuild will lead to chaos
- -rm -r docs/_build/wdirs
|