Bug 777068 - Move simplejson to python/; r=glandium

This commit is contained in:
Gregory Szorc
2012-07-26 13:07:28 -07:00
parent 755f3a7a63
commit 063b54a3cd
58 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env python
import os
import subprocess
import shutil
SPHINX_BUILD = 'sphinx-build'
DOCTREES_DIR = 'build/doctrees'
HTML_DIR = 'docs'
for dirname in DOCTREES_DIR, HTML_DIR:
if not os.path.exists(dirname):
os.makedirs(dirname)
res = subprocess.call([
SPHINX_BUILD, '-d', DOCTREES_DIR, '-b', 'html', '.', 'docs',
])
raise SystemExit(res)