summaryrefslogtreecommitdiff
path: root/doxygen
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2022-08-03 21:12:44 +0100
committerFlorian Westphal <fw@strlen.de>2022-09-21 10:35:31 +0200
commit23a2298ecf2defa1ad476ab217a5ea4438c3c781 (patch)
treea929c8eeddad3daa15230b0f128ef250aef682e7 /doxygen
parentf79a2193edf41701488786182fd071fbfe404ec5 (diff)
downloadlibmnl-23a2298ecf2defa1ad476ab217a5ea4438c3c781.tar.gz
doc: change `INPUT` doxygen setting to `@top_srcdir@`
It avoids the need to move src directories in doxygen/Makefile. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'doxygen')
-rw-r--r--doxygen/Makefile.am11
1 files changed, 0 insertions, 11 deletions
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