mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-22 20:35:44 +01:00
Fix make distcheck and parallel bmake
This commit is contained in:
parent
e216c7d345
commit
b40c960cef
11
Makefile.am
11
Makefile.am
@ -159,16 +159,15 @@ HTML_TANGLED = docs/index.html \
|
|||||||
htmldir = $(docdir)
|
htmldir = $(docdir)
|
||||||
# This $(htmlizer) file and the corresponding target rule allow to avoid circular dependency,
|
# This $(htmlizer) file and the corresponding target rule allow to avoid circular dependency,
|
||||||
# which was introduced before to force htmlization of org-mode files.
|
# which was introduced before to force htmlization of org-mode files.
|
||||||
# The circular dependency does not impose issues for GNU make but produces errors on bmake.
|
# The circular dependency did not impose issues on GNU make but produced errors on bmake.
|
||||||
# This workaround enables execution of bmake in serial but not in parallel (e.g. bmake -j4),
|
htmlizer = docs/.htmlizer
|
||||||
# due to the following error: "cannot touch docs/.htmlized : No such file or directory"
|
|
||||||
htmlizer = docs/.htmlized
|
|
||||||
|
|
||||||
CLEANFILES += $(HTML_TANGLED) $(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 \
|
||||||
|
$(htmlizer)
|
||||||
|
|
||||||
dist_html_DATA = $(HTML_FILES)
|
dist_html_DATA = $(HTML_FILES)
|
||||||
|
|
||||||
@ -195,8 +194,8 @@ $(trexio_f): $(ORG_FILES)
|
|||||||
cd $(srcdir)/tools && ./build_trexio.sh
|
cd $(srcdir)/tools && ./build_trexio.sh
|
||||||
|
|
||||||
$(htmlizer): $(ORG_FILES) $(srcdir)/src/README.org
|
$(htmlizer): $(ORG_FILES) $(srcdir)/src/README.org
|
||||||
cd $(srcdir)/tools && ./build_doc.sh
|
|
||||||
touch $(htmlizer)
|
touch $(htmlizer)
|
||||||
|
cd $(srcdir)/tools && ./build_doc.sh
|
||||||
|
|
||||||
cppcheck: cppcheck.out
|
cppcheck: cppcheck.out
|
||||||
cat cppcheck.out
|
cat cppcheck.out
|
||||||
|
Loading…
Reference in New Issue
Block a user