forked from egao1980/PyAV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (20 loc) · 655 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (20 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
SPHINXOPTS =
SPHINXBUILD = sphinx-build
BUILDDIR = _build
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) .
.PHONY: clean html open upload
.DEFAULT: html
includes.rst: includes.py $(shell find ../include ../av -name '*.pyx' -or -name '*.pxd')
python includes.py > $@.tmp
mv $@.tmp $@
clean:
- rm -rf $(BUILDDIR)/*
- rm includes.rst
html: includes.rst
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
test:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
open:
open _build/html/index.html
upload:
rsync -avxP --delete _build/html/ docs.mikeboers.com:/srv/mikeboers.com/docs/httpdocs/pyav/develop/