Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: native_client_sdk/src/doc/Makefile

Issue 72213002: Minor tweaks to Makefile to make it easier to push docs to DevSite. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Makefile for Sphinx documentation 1 # Makefile for Sphinx documentation
2 # 2 #
3 3
4 # You can set these variables from the command line. 4 # You can set these variables from the command line.
5 SPHINXOPTS = -W 5 SPHINXOPTS = -W
6 SPHINXBUILD = sphinx-build 6 SPHINXBUILD = sphinx-build
7 PAPER = 7 PAPER =
8 BUILDDIR = _build 8 BUILDDIR = _build
9 9
10 # User-friendly check for sphinx-build 10 # User-friendly check for sphinx-build
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml 175 $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
176 @echo 176 @echo
177 @echo "Build finished. The XML files are in $(BUILDDIR)/xml." 177 @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
178 178
179 pseudoxml: 179 pseudoxml:
180 $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml 180 $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
181 @echo 181 @echo
182 @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml ." 182 @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml ."
183 183
184 devsite-prod: 184 devsite-prod:
185 » $(SPHINXBUILD) -b devsite -D devsite_production_mode=1 $(ALLSPHINXOPTS) $(BUILDDIR)/devsite-prod 185 » $(SPHINXBUILD) -b devsite -D devsite_production_mode=1 -D devsite_folder name=dev $(ALLSPHINXOPTS) $(BUILDDIR)/devsite-prod
186 rm -rf $(BUILDDIR)/devsite-prod/images 186 rm -rf $(BUILDDIR)/devsite-prod/images
187 cp -r $(BUILDDIR)/devsite-prod/_images $(BUILDDIR)/devsite-prod/images 187 cp -r $(BUILDDIR)/devsite-prod/_images $(BUILDDIR)/devsite-prod/images
188 rm -rf $(BUILDDIR)/devsite-prod/{_images,peppercpp,searchindex.js}
188 @echo 189 @echo
189 @echo "Build finished. The HTML pages are in $(BUILDDIR)/devsite-prod." 190 @echo "Build finished. The HTML pages are in $(BUILDDIR)/devsite-prod."
190 191
191 devsite-staging: 192 devsite-staging:
192 $(SPHINXBUILD) -b devsite -D devsite_foldername=$(USER) -D devsite_produ ction_mode=1 $(ALLSPHINXOPTS) $(BUILDDIR)/devsite-staging 193 $(SPHINXBUILD) -b devsite -D devsite_foldername=$(USER) -D devsite_produ ction_mode=1 $(ALLSPHINXOPTS) $(BUILDDIR)/devsite-staging
193 rm -rf $(BUILDDIR)/devsite-staging/images 194 rm -rf $(BUILDDIR)/devsite-staging/images
194 cp -r $(BUILDDIR)/devsite-staging/_images $(BUILDDIR)/devsite-staging/im ages 195 cp -r $(BUILDDIR)/devsite-staging/_images $(BUILDDIR)/devsite-staging/im ages
195 cp _reference_toc.yaml $(BUILDDIR)/devsite-staging/ 196 cp _reference_toc.yaml $(BUILDDIR)/devsite-staging/
196 @echo 197 @echo
197 @echo "Build finished. The HTML pages are in $(BUILDDIR)/devsite-staging ." 198 @echo "Build finished. The HTML pages are in $(BUILDDIR)/devsite-staging ."
198 199
199 devsite: 200 devsite:
200 $(SPHINXBUILD) -b devsite -D devsite_production_mode=0 $(ALLSPHINXOPTS) $(BUILDDIR)/devsite 201 $(SPHINXBUILD) -b devsite -D devsite_production_mode=0 $(ALLSPHINXOPTS) $(BUILDDIR)/devsite
201 @echo 202 @echo
202 @echo "Build finished. The HTML pages are in $(BUILDDIR)/devsite." 203 @echo "Build finished. The HTML pages are in $(BUILDDIR)/devsite."
203 204
204 serve: 205 serve:
205 cd _build/devsite && python -m SimpleHTTPServer 8009 206 cd _build/devsite && python -m SimpleHTTPServer 8009
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698