1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-13 08:45:36 +02:00

Fixed text in org file

This commit is contained in:
Anthony Scemama 2021-04-21 13:26:11 +02:00
parent 8882b4b3d4
commit 56ba68b7f8
4 changed files with 20 additions and 8 deletions

View File

@ -52,8 +52,8 @@ $(distdir): $(qmckl_h) $(qmckl_f) $(static_lib) $(shared_lib) src/Makefile.gener
FORCE:
- rm -- $(distdir).tar.gz >/dev/null 2>&1
- rm -rf -- $(distdir) >/dev/null 2>&1
rm -f -- $(distdir).tar.gz
rm -rf -- $(distdir)
distcheck: $(distdir).tar.gz

View File

@ -116,7 +116,11 @@ clean:
- $(RM) test_qmckl_* test_qmckl.c \
$(qmckl_h) $(qmckl_f) \
qmckl_*.f90 qmckl_*.c qmckl_*.h \
Makefile.generated *.html
Makefile.generated *.html *.txt
veryclean: clean FORCE
- $(RM) $(QMCKL_ROOT)/docs/*.html \
$(QMCKL_ROOT)/docs/*.txt
Makefile.generated: Makefile $(QMCKL_ROOT)/tools/create_makefile.sh $(ORG_SOURCE_FILES)
$(QMCKL_ROOT)/tools/create_makefile.sh

View File

@ -188,7 +188,11 @@ clean:
- $(RM) test_qmckl_* test_qmckl.c \
$(qmckl_h) $(qmckl_f) \
qmckl_*.f90 qmckl_*.c qmckl_*.h \
Makefile.generated *.html
Makefile.generated *.html *.txt
veryclean: clean FORCE
- $(RM) $(QMCKL_ROOT)/docs/*.html \
$(QMCKL_ROOT)/docs/*.txt
Makefile.generated: Makefile $(QMCKL_ROOT)/tools/create_makefile.sh $(ORG_SOURCE_FILES)
$(QMCKL_ROOT)/tools/create_makefile.sh
@ -559,6 +563,7 @@ function extract_doc()
{
local org=$1
local local_html=${SRC}/${org%.org}.html
local local_text=${SRC}/${org%.org}.txt
local html=${DOCS}/${org%.org}.html
if [[ -f ${html} && ${org} -ot ${html} ]]
@ -570,8 +575,9 @@ function extract_doc()
--load ${CONFIG_DOC} \
${org} \
--load ${CONFIG_TANGLE} \
-f org-html-export-to-html
mv ${local_html} ${DOCS}
-f org-html-export-to-html \
-f org-ascii-export-to-ascii
mv ${local_html} ${local_text} ${DOCS}
}
#+end_src

View File

@ -78,6 +78,7 @@ function extract_doc()
{
local org=$1
local local_html=${SRC}/${org%.org}.html
local local_text=${SRC}/${org%.org}.txt
local html=${DOCS}/${org%.org}.html
if [[ -f ${html} && ${org} -ot ${html} ]]
@ -89,8 +90,9 @@ function extract_doc()
--load ${CONFIG_DOC} \
${org} \
--load ${CONFIG_TANGLE} \
-f org-html-export-to-html
mv ${local_html} ${DOCS}
-f org-html-export-to-html \
-f org-ascii-export-to-ascii
mv ${local_html} ${local_text} ${DOCS}
}