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

Unified Diff: docs/Makefile.standalone

Issue 1574883002: add doxypypy and py_filter so this will turn google style (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: changes suggested by stichnot Created 4 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/Doxyfile ('k') | docs/fdoxypypy.py » ('j') | docs/py_filter » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/Makefile.standalone
diff --git a/docs/Makefile.standalone b/docs/Makefile.standalone
index b1094aaa0bb474bad7736699af1e2296660bde9d..049d4cde7bc4038f2554728aa756c270ad8bd8ce 100644
--- a/docs/Makefile.standalone
+++ b/docs/Makefile.standalone
@@ -1,6 +1,17 @@
.PHONY: all
-all:
+DOXYPYPY := $(shell which doxypypy)
+
+ifeq ("$(DOXYPYPY)", "")
+all::
Jim Stichnoth 2016/01/27 02:12:30 A normal "make docs" run produces pages and pages
rkotlerimgtec 2016/01/27 02:36:07 Done.
+ $(info "To get best Doxgen output for Python code")
Jim Stichnoth 2016/01/27 02:12:30 Doxygen
Jim Stichnoth 2016/01/27 02:12:30 You should probably remove the double-quotes in th
rkotlerimgtec 2016/01/27 02:36:07 Done.
rkotlerimgtec 2016/01/27 02:36:07 Done.
rkotlerimgtec 2016/01/27 02:36:07 Done.
+ $(info "Python doxypypy package should to be installed, e.g.")
Jim Stichnoth 2016/01/27 02:12:30 should be
rkotlerimgtec 2016/01/27 02:36:07 Done.
+ $(info "'sudo pip install doxypypy'")
+ $(info " ... or ...")
+ $(info "'easy_install doxypypy'")
+ $(info "see https://github.com/Feneric/doxypypy ")
Jim Stichnoth 2016/01/27 02:12:30 maybe drop the last space before the closing quote
rkotlerimgtec 2016/01/27 02:36:07 Done.
+endif
+all::
mkdir -p ../build
doxygen Doxyfile
@echo See file://`pwd`/../build/docs/html/index.html
« no previous file with comments | « docs/Doxyfile ('k') | docs/fdoxypypy.py » ('j') | docs/py_filter » ('J')

Powered by Google App Engine
This is Rietveld 408576698