diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2021-08-28 13:35:05 +1000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-08-28 11:13:12 +0200 |
commit | c12749e373df182c343caa314b9578e617e98f4d (patch) | |
tree | 28581db400ebc2fdd11d13643cba909022bf72b0 /doxygen/Makefile.am | |
parent | 04d1e65f8d9381cec0ce2e02037a62f30fd4f15f (diff) | |
download | libnetfilter_queue-c12749e373df182c343caa314b9578e617e98f4d.tar.gz |
build: doc: Avoid having to special-case `make distcheck`
- Move doxygen.cfg.in to doxygen/
- Tell doxygen.cfg.in where the sources are
- Let doxygen.cfg.in default its output to CWD
- In Makefile, `doxygen doxygen.cfg` "just works"
Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doxygen/Makefile.am')
-rw-r--r-- | doxygen/Makefile.am | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/doxygen/Makefile.am b/doxygen/Makefile.am index 5068544..f38009b 100644 --- a/doxygen/Makefile.am +++ b/doxygen/Makefile.am @@ -4,17 +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; } + doxygen doxygen.cfg >/dev/null $(abs_top_srcdir)/doxygen/build_man.sh |