From 2991da5547ea087073ed2ddceee8d3d8a3c52ef5 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Thu, 20 May 2021 17:21:14 +0200 Subject: [PATCH] doc/Makefile.am: Fix target dist Ensure that EXTRA_DIST contents are included in make dist even if configured without documentation. CLEANFILES is also set outside the conditional area to enable proper cleanup. --- doc/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index cedd3974..46c2fffc 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -9,8 +9,6 @@ # We can only perfom the targets in this directory if doxygen is present. -if HAVE_DOXYGEN - CLEANFILES = \ doxygen_sqlite3.db @@ -19,6 +17,8 @@ EXTRA_DIST = \ upgrade_4.2.1_4.3.0.txt \ main.md +if HAVE_DOXYGEN + man-page-cleanup: @rm -f $(top_builddir)/doc/DoxygenLayout.xml @rm -rf $(top_builddir)/doc/man_tmp