diff options
-rw-r--r-- | doxygen.cfg.in | 2 | ||||
-rw-r--r-- | doxygen/Makefile.am | 11 |
2 files changed, 1 insertions, 12 deletions
diff --git a/doxygen.cfg.in b/doxygen.cfg.in index ae31dbe..d6db004 100644 --- a/doxygen.cfg.in +++ b/doxygen.cfg.in @@ -6,7 +6,7 @@ ABBREVIATE_BRIEF = FULL_PATH_NAMES = NO TAB_SIZE = 8 OPTIMIZE_OUTPUT_FOR_C = YES -INPUT = . +INPUT = @top_srcdir@ FILE_PATTERNS = */src/*.c RECURSIVE = YES EXCLUDE_SYMBOLS = EXPORT_SYMBOL mnl_nlmsg_batch mnl_socket diff --git a/doxygen/Makefile.am b/doxygen/Makefile.am index 189a233..09124ea 100644 --- a/doxygen/Makefile.am +++ b/doxygen/Makefile.am @@ -4,18 +4,7 @@ doc_srcs = $(shell find $(top_srcdir)/src -name '*.c') doxyfile.stamp: $(doc_srcs) Makefile.am rm -rf html man - -# Test for running under make distcheck. -# If so, sibling src directory will be empty: -# move it out of the way and symlink the real one while we run doxygen. - [ -f ../src/Makefile.in ] || \ -{ set -x; cd ..; mv src src.distcheck; ln -s $(top_srcdir)/src; } - cd ..; doxygen doxygen.cfg >/dev/null - - [ ! -d ../src.distcheck ] || \ -{ set -x; cd ..; rm src; mv src.distcheck src; } - # We need to use bash for its associative array facility # (`bash -p` prevents import of functions from the environment). # The command has to be a single line so the functions work |