Commit 7910a26d by Reed Kotler Committed by Jim Stichnoth

add doxypypy support to Subzero doxygen

BUG= R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1574883002 . Patch from Reed Kotler <rkotlerimgtec@gmail.com>.
parent 8c5544b5
...@@ -876,7 +876,7 @@ INPUT_FILTER = "awk ' \ ...@@ -876,7 +876,7 @@ INPUT_FILTER = "awk ' \
# filters are used. If the FILTER_PATTERNS tag is empty or if none of the # filters are used. If the FILTER_PATTERNS tag is empty or if none of the
# patterns match the file name, INPUT_FILTER is applied. # 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 # 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 # INPUT_FILTER ) will also be used to filter the input files that are used for
......
.PHONY: all .PHONY: all
all: all::
mkdir -p ../build mkdir -p ../build
doxygen Doxyfile doxygen Doxyfile
@echo See file://`pwd`/../build/docs/html/index.html @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
#!/bin/bash
x=`which doxypypy`
if [ "$x" == "" ]; then
cat $1
else
doxypypy -a -c $1
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment