File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1515dist /
1616build /
1717* .egg-info /
18+
19+ # yajl build
20+ yajl-src
Original file line number Diff line number Diff line change @@ -2,19 +2,20 @@ SHELL=/bin/bash
22HTMLDIR =doc/build/html
33HTMLSED =find ${HTMLDIR}/ -name '*.html' | xargs sed -i
44
5- .PHONY : usage install test doc gh-pages build-doc
5+ .PHONY : usage install deps test doc gh-pages build-doc
66
77usage :
88 @echo
99 @echo Makefile for yajl-py
1010 @echo
1111 @echo Targets
1212 @echo " install :" easy_install yajl-py
13+ @echo " deps :" install compatible yajl version
1314 @echo " test :" run yajl-py tests
1415 @echo " doc :" install docs to gh-pages branch
1516
1617install :
17- easy_install .
18+ pip install .
1819
1920test :
2021 nosetests -v tests/
@@ -31,3 +32,9 @@ build-doc:
3132 ${HTMLSED} ' s/_sources/sources/g'
3233 mv ${HTMLDIR} /{_,}static
3334 ${HTMLSED} ' s/_static/static/g'
35+
36+ deps :
37+ rm -fr yajl-src
38+ git clone https://github.com/lloyd/yajl.git yajl-src
39+ (cd yajl-src; git checkout 4c539cb5b; git reset --hard; ./configure)
40+ sudo make -C yajl-src install
You can’t perform that action at this time.
0 commit comments