BUG=
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/
1574883002 .
Patch from Reed Kotler <rkotlerimgtec@gmail.com>.
# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
# patterns match the file name, INPUT_FILTER is applied.
-FILTER_PATTERNS =
+FILTER_PATTERNS = *.py=./py_filter
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
# INPUT_FILTER ) will also be used to filter the input files that are used for
.PHONY: all
-all:
+all::
mkdir -p ../build
doxygen Doxyfile
@echo See file://`pwd`/../build/docs/html/index.html
+
+DOXYPYPY := $(shell which doxypypy)
+
+ifeq ("$(DOXYPYPY)", "")
+all::
+ $(info Warning: ......................................)
+ $(info To get best Doxygen output for Python code, the)
+ $(info Python doxypypy package should be installed, e.g.)
+ $(info 'sudo pip install doxypypy')
+ $(info ... or ... )
+ $(info 'easy_install doxypypy')
+ $(info see https://github.com/Feneric/doxypypy)
+endif
--- /dev/null
+#!/bin/bash
+x=`which doxypypy`
+if [ "$x" == "" ]; then
+ cat $1
+else
+ doxypypy -a -c $1
+fi