From 0ee57d06e0c08083df24a81fd33cb889c132c27d Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Tue, 11 May 2021 17:03:13 +0200 Subject: [PATCH] Working on documentation --- Makefile.am | 1 + munit | 1 - tools/build_doc.sh | 8 ++------ 3 files changed, 3 insertions(+), 7 deletions(-) delete mode 160000 munit diff --git a/Makefile.am b/Makefile.am index ab01308..e739375 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,6 +55,7 @@ fortrandir = $(datadir)/$(PACKAGE_NAME)/fortran/ fortran_DATA = $(qmckl_f) AM_CPPFLAGS = -I$(srcdir)/src -I$(srcdir)/include +EXTRA_DIST = share/doc/qmckl/ lib_LTLIBRARIES = src/libqmckl.la src_libqmckl_la_SOURCES = $(qmckl_h) $(src_qmckl_f) $(C_FILES) $(F_FILES) $(H_PRIVATE_FUNC_FILES) $(H_PRIVATE_TYPE_FILES) diff --git a/munit b/munit deleted file mode 160000 index fbbdf14..0000000 --- a/munit +++ /dev/null @@ -1 +0,0 @@ -Subproject commit fbbdf1467eb0d04a6ee465def2e529e4c87f2118 diff --git a/tools/build_doc.sh b/tools/build_doc.sh index 3c27b56..77f5264 100755 --- a/tools/build_doc.sh +++ b/tools/build_doc.sh @@ -3,11 +3,7 @@ set -e -if [[ -z ${srcdir} ]] ; then - echo "Error: srcdir environment variable is not defined" - exit 1 -fi - +srcdir=$PWD readonly DOCS=${srcdir}/share/doc/qmckl/ readonly ORG=${srcdir}/org/ @@ -95,7 +91,7 @@ function main() { install_htmlize || exit 2 # Create documentation - cd ${SRC} \ + cd ${ORG} \ || exit 3 for i in *.org