mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-22 12:23:56 +01:00
Added --disable-doc to configure
This commit is contained in:
parent
c83dc804b4
commit
5c62bc1c71
20
Makefile.am
20
Makefile.am
@ -72,15 +72,21 @@ CLEANFILES+=$(test_qmckl_fo) $(src_qmckl_fo) $(test_qmckl_o) $(src_qmckl_o) $(FH
|
|||||||
|
|
||||||
include generated.mk
|
include generated.mk
|
||||||
|
|
||||||
|
htmldir = $(docdir)/html
|
||||||
|
textdir = $(docdir)/text
|
||||||
|
htmldir_loc = share/doc/qmckl/html
|
||||||
|
textdir_loc = share/doc/qmckl/text
|
||||||
|
|
||||||
ln_s_verbose = $(ln_s_verbose_@AM_V@)
|
ln_s_verbose = $(ln_s_verbose_@AM_V@)
|
||||||
ln_s_verbose_ = $(ln_s_verbose_@AM_DEFAULT_V@)
|
ln_s_verbose_ = $(ln_s_verbose_@AM_DEFAULT_V@)
|
||||||
ln_s_verbose_0 = @echo " LN_S $<";
|
ln_s_verbose_0 = @echo " LN_S $<";
|
||||||
|
|
||||||
htmldir = $(docdir)/html
|
# Include Guix manifest in the source code distribution tarball
|
||||||
textdir = $(docdir)/text
|
tools_qmckl_scm = tools/qmckl.scm
|
||||||
htmldir_loc = share/doc/qmckl/html
|
EXTRA_DIST += $(tools_qmckl_scm)
|
||||||
textdir_loc = share/doc/qmckl/text
|
|
||||||
|
# Documentation rules
|
||||||
|
if HAVE_DOC
|
||||||
htmlize_el = $(htmldir_loc)/htmlize.el
|
htmlize_el = $(htmldir_loc)/htmlize.el
|
||||||
dist_html_DATA = $(HTML_FILES) \
|
dist_html_DATA = $(HTML_FILES) \
|
||||||
$(htmldir_loc)/qmckl.css \
|
$(htmldir_loc)/qmckl.css \
|
||||||
@ -88,13 +94,10 @@ dist_html_DATA = $(HTML_FILES) \
|
|||||||
|
|
||||||
dist_text_DATA = $(TEXT_FILES)
|
dist_text_DATA = $(TEXT_FILES)
|
||||||
|
|
||||||
# Include Guix manifest in the source code distribution tarball
|
|
||||||
tools_qmckl_scm = tools/qmckl.scm
|
|
||||||
EXTRA_DIST += $(tools_qmckl_scm)
|
|
||||||
|
|
||||||
html-local: $(htmlize_el) $(dist_html_DATA)
|
html-local: $(htmlize_el) $(dist_html_DATA)
|
||||||
text: $(htmlize_el) $(dist_text_DATA)
|
text: $(htmlize_el) $(dist_text_DATA)
|
||||||
doc: html text
|
doc: html text
|
||||||
|
endif
|
||||||
|
|
||||||
setup_py = $(srcdir)/python/setup.py
|
setup_py = $(srcdir)/python/setup.py
|
||||||
process_header_py = $(srcdir)/python/src/process_header.py
|
process_header_py = $(srcdir)/python/src/process_header.py
|
||||||
@ -131,6 +134,7 @@ if QMCKL_DEVEL
|
|||||||
|
|
||||||
if VFC_CI
|
if VFC_CI
|
||||||
AM_LDFLAGS=-lvfc_probes -lvfc_probes_f
|
AM_LDFLAGS=-lvfc_probes -lvfc_probes_f
|
||||||
|
ACLOCAL_AMFLAGS += -I tools
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST += $(ORG_FILES) $(TANGLED_FILES) $(EXPORTED_FILES) $(test_qmckl_f)
|
EXTRA_DIST += $(ORG_FILES) $(TANGLED_FILES) $(EXPORTED_FILES) $(test_qmckl_f)
|
||||||
|
10
configure.ac
10
configure.ac
@ -273,6 +273,14 @@ AC_ARG_ENABLE([hpc],
|
|||||||
AS_IF([test "x$enable_hpc" = "yes"],
|
AS_IF([test "x$enable_hpc" = "yes"],
|
||||||
[AC_DEFINE([HAVE_HPC], [1], [Activate HPC routines])])
|
[AC_DEFINE([HAVE_HPC], [1], [Activate HPC routines])])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([doc],
|
||||||
|
[AS_HELP_STRING([--disable-doc],
|
||||||
|
[Disable documentation])],
|
||||||
|
[enable_doc=$withval],
|
||||||
|
[enable_doc=yes])
|
||||||
|
|
||||||
|
AM_CONDITIONAL([HAVE_DOC],[test "x$enable_doc" = "no"])
|
||||||
|
|
||||||
# Enable Verificarlo tests
|
# Enable Verificarlo tests
|
||||||
AC_ARG_ENABLE([vfc_ci],
|
AC_ARG_ENABLE([vfc_ci],
|
||||||
[AS_HELP_STRING([--enable-vfc_ci],
|
[AS_HELP_STRING([--enable-vfc_ci],
|
||||||
@ -283,7 +291,7 @@ AC_ARG_ENABLE([vfc_ci],
|
|||||||
AS_IF([test "x$enable_vfc_ci" = "xyes"],
|
AS_IF([test "x$enable_vfc_ci" = "xyes"],
|
||||||
[FCFLAGS="-D VFC_CI $FCFLAGS"
|
[FCFLAGS="-D VFC_CI $FCFLAGS"
|
||||||
CFLAGS="-D VFC_CI $CFLAGS"
|
CFLAGS="-D VFC_CI $CFLAGS"
|
||||||
LDFLAGS="-lvfc_probes $LDFLAGS"])
|
LIBS="$LIBS -lvfc_probes"])
|
||||||
|
|
||||||
AM_CONDITIONAL([VFC_CI], [test "x$vfc_ci" = "xtrue"])
|
AM_CONDITIONAL([VFC_CI], [test "x$vfc_ci" = "xtrue"])
|
||||||
|
|
||||||
|
@ -205,8 +205,12 @@ def main():
|
|||||||
"C_TEST_FILES="+" ".join(C_TEST_FILES),
|
"C_TEST_FILES="+" ".join(C_TEST_FILES),
|
||||||
"F_TEST_FILES="+" ".join(F_TEST_FILES),
|
"F_TEST_FILES="+" ".join(F_TEST_FILES),
|
||||||
"TESTS="+" ".join(TESTS.keys()),
|
"TESTS="+" ".join(TESTS.keys()),
|
||||||
"HTML_FILES="+" ".join(HTML.values()),
|
"HTML_FILES=",
|
||||||
"TEXT_FILES="+" ".join(TEXT.values()),
|
"TEXT_FILES=",
|
||||||
|
"if HAVE_DOC",
|
||||||
|
"HTML_FILES+="+" ".join(HTML.values()),
|
||||||
|
"TEXT_FILES+="+" ".join(TEXT.values()),
|
||||||
|
"endif",
|
||||||
"" ]
|
"" ]
|
||||||
|
|
||||||
output+= ["",
|
output+= ["",
|
||||||
|
Loading…
Reference in New Issue
Block a user