We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcfec2 commit 96a32abCopy full SHA for 96a32ab
Makefile
@@ -1,13 +1,33 @@
1
+SHELL=/bin/bash
2
+HTMLDIR=doc/build/html
3
+HTMLSED=find ${HTMLDIR}/ -name '*.html' | xargs sed -i
4
+
5
+.PHONY: usage install test doc gh-pages build-doc
6
7
usage:
8
@echo
9
@echo Makefile for yajl-py
10
11
@echo Targets
12
@echo " install :" easy_install yajl-py
13
@echo " test :" run yajl-py tests
14
+ @echo " doc :" install docs to gh-pages branch
15
16
install:
17
easy_install .
18
19
test:
20
nosetests -v tests/
21
22
+doc: gh-pages
23
24
+gh-pages: build-doc
25
+ git co gh-pages
26
+ rsync -vr ${HTMLDIR}/ ./
27
28
+build-doc:
29
+ make -C doc/ clean html
30
+ mv ${HTMLDIR}/{_,}sources
31
+ ${HTMLSED} 's/_sources/sources/g'
32
+ mv ${HTMLDIR}/{_,}static
33
+ ${HTMLSED} 's/_static/static/g'
0 commit comments