From fe75b72752f735566374b3ce04e4bccedd4c1ef1 Mon Sep 17 00:00:00 2001 From: q-posev Date: Thu, 13 Jan 2022 13:26:12 +0100 Subject: [PATCH] Fix bug: clean docs/ only in the maintainer mode Previously there was an issue that make clean in the distribution tarball was cleaning the docs/ directory but there was no rule to tangle the HTML files when not in the maintainer mode --- Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index ec9354f..1ee7236 100644 --- a/Makefile.am +++ b/Makefile.am @@ -148,8 +148,6 @@ htmldir = $(docdir) # The circular dependency did not impose issues on GNU make but produced errors on bmake. htmlizer = docs/.htmlizer -CLEANFILES += $(HTML_TANGLED) $(htmlizer) - HTML_FILES = $(HTML_TANGLED) \ docs/trexio.css \ docs/tutorial_benzene.html \ @@ -171,7 +169,7 @@ HDF5_CPPFLAGS = @HDF5_CPPFLAGS@ if TREXIO_DEVEL -CLEANFILES += $(SOURCES) $(trexio_f) $(trexio_h) .git_hash +CLEANFILES += $(SOURCES) $(trexio_f) $(trexio_h) $(HTML_TANGLED) $(htmlizer) .git_hash BUILT_SOURCES += $(SOURCES) $(trexio_f) $(test_trexio_f)