forked from gvalkov/python-evdev
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
22 lines (16 loc) · 476 Bytes
/
Copy pathMakefile
File metadata and controls
22 lines (16 loc) · 476 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SHELL := "/bin/bash"
.PHONY: zipdoc ghpages
zipdoc:
[ -f evdev/_ecodes.so ] || python setup.py develop
(cd doc/ && make html)
(cd doc/_build/html && zip -x \*.zip -r evdev-doc.zip .)
echo`readlink -f doc/_build/html/evdev-doc.zip`
ghpages: zipdoc
cp doc/_build/html/evdev-doc.zip /tmp/
git co gh-pages
rm .git/index
git clean -fdx
touch .nojekyll
unzip -x /tmp/evdev-doc.zip
git add -A ; git commit -m 'sphinxdoc update'
#vim:set ft=make ai noet sw=8 sts=8: