1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-23 04:43:57 +01:00

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
This commit is contained in:
q-posev 2022-01-13 13:26:12 +01:00
parent d8f4e4206d
commit fe75b72752

View File

@ -148,8 +148,6 @@ htmldir = $(docdir)
# The circular dependency did not impose issues on GNU make but produced errors on bmake. # The circular dependency did not impose issues on GNU make but produced errors on bmake.
htmlizer = docs/.htmlizer htmlizer = docs/.htmlizer
CLEANFILES += $(HTML_TANGLED) $(htmlizer)
HTML_FILES = $(HTML_TANGLED) \ HTML_FILES = $(HTML_TANGLED) \
docs/trexio.css \ docs/trexio.css \
docs/tutorial_benzene.html \ docs/tutorial_benzene.html \
@ -171,7 +169,7 @@ HDF5_CPPFLAGS = @HDF5_CPPFLAGS@
if TREXIO_DEVEL 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) BUILT_SOURCES += $(SOURCES) $(trexio_f) $(test_trexio_f)