Also get make distcleancheck to pass (only applies to VPATH builds). Signed-off-by: Duncan Roe <duncan_roe@xxxxxxxxxxxxxxx> --- doxygen/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doxygen/Makefile.am b/doxygen/Makefile.am index 37ed7aa..e788843 100644 --- a/doxygen/Makefile.am +++ b/doxygen/Makefile.am @@ -9,7 +9,7 @@ doxyfile.stamp: $(doc_srcs) Makefile.am # 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; } +{ set -x; cd ..; mv src src.distcheck; ln -s $(abs_top_srcdir)/src; } cd ..; doxygen doxygen.cfg >/dev/null @@ -228,7 +228,7 @@ CLEANFILES = doxyfile.stamp all-local: doxyfile.stamp clean-local: - rm -rf $(top_srcdir)/doxygen/man $(top_srcdir)/doxygen/html + rm -rf man html install-data-local: if BUILD_MAN mkdir -p $(DESTDIR)$(mandir)/man3 -- 2.17.5