mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-16 18:38:28 +02:00
Fixed text in org file
This commit is contained in:
parent
8882b4b3d4
commit
56ba68b7f8
4
Makefile
4
Makefile
@ -52,8 +52,8 @@ $(distdir): $(qmckl_h) $(qmckl_f) $(static_lib) $(shared_lib) src/Makefile.gener
|
|||||||
|
|
||||||
|
|
||||||
FORCE:
|
FORCE:
|
||||||
- rm -- $(distdir).tar.gz >/dev/null 2>&1
|
rm -f -- $(distdir).tar.gz
|
||||||
- rm -rf -- $(distdir) >/dev/null 2>&1
|
rm -rf -- $(distdir)
|
||||||
|
|
||||||
|
|
||||||
distcheck: $(distdir).tar.gz
|
distcheck: $(distdir).tar.gz
|
||||||
|
@ -116,7 +116,11 @@ clean:
|
|||||||
- $(RM) test_qmckl_* test_qmckl.c \
|
- $(RM) test_qmckl_* test_qmckl.c \
|
||||||
$(qmckl_h) $(qmckl_f) \
|
$(qmckl_h) $(qmckl_f) \
|
||||||
qmckl_*.f90 qmckl_*.c qmckl_*.h \
|
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)
|
Makefile.generated: Makefile $(QMCKL_ROOT)/tools/create_makefile.sh $(ORG_SOURCE_FILES)
|
||||||
$(QMCKL_ROOT)/tools/create_makefile.sh
|
$(QMCKL_ROOT)/tools/create_makefile.sh
|
||||||
|
@ -188,7 +188,11 @@ clean:
|
|||||||
- $(RM) test_qmckl_* test_qmckl.c \
|
- $(RM) test_qmckl_* test_qmckl.c \
|
||||||
$(qmckl_h) $(qmckl_f) \
|
$(qmckl_h) $(qmckl_f) \
|
||||||
qmckl_*.f90 qmckl_*.c qmckl_*.h \
|
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)
|
Makefile.generated: Makefile $(QMCKL_ROOT)/tools/create_makefile.sh $(ORG_SOURCE_FILES)
|
||||||
$(QMCKL_ROOT)/tools/create_makefile.sh
|
$(QMCKL_ROOT)/tools/create_makefile.sh
|
||||||
@ -559,6 +563,7 @@ function extract_doc()
|
|||||||
{
|
{
|
||||||
local org=$1
|
local org=$1
|
||||||
local local_html=${SRC}/${org%.org}.html
|
local local_html=${SRC}/${org%.org}.html
|
||||||
|
local local_text=${SRC}/${org%.org}.txt
|
||||||
local html=${DOCS}/${org%.org}.html
|
local html=${DOCS}/${org%.org}.html
|
||||||
|
|
||||||
if [[ -f ${html} && ${org} -ot ${html} ]]
|
if [[ -f ${html} && ${org} -ot ${html} ]]
|
||||||
@ -570,8 +575,9 @@ function extract_doc()
|
|||||||
--load ${CONFIG_DOC} \
|
--load ${CONFIG_DOC} \
|
||||||
${org} \
|
${org} \
|
||||||
--load ${CONFIG_TANGLE} \
|
--load ${CONFIG_TANGLE} \
|
||||||
-f org-html-export-to-html
|
-f org-html-export-to-html \
|
||||||
mv ${local_html} ${DOCS}
|
-f org-ascii-export-to-ascii
|
||||||
|
mv ${local_html} ${local_text} ${DOCS}
|
||||||
|
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -78,6 +78,7 @@ function extract_doc()
|
|||||||
{
|
{
|
||||||
local org=$1
|
local org=$1
|
||||||
local local_html=${SRC}/${org%.org}.html
|
local local_html=${SRC}/${org%.org}.html
|
||||||
|
local local_text=${SRC}/${org%.org}.txt
|
||||||
local html=${DOCS}/${org%.org}.html
|
local html=${DOCS}/${org%.org}.html
|
||||||
|
|
||||||
if [[ -f ${html} && ${org} -ot ${html} ]]
|
if [[ -f ${html} && ${org} -ot ${html} ]]
|
||||||
@ -89,8 +90,9 @@ function extract_doc()
|
|||||||
--load ${CONFIG_DOC} \
|
--load ${CONFIG_DOC} \
|
||||||
${org} \
|
${org} \
|
||||||
--load ${CONFIG_TANGLE} \
|
--load ${CONFIG_TANGLE} \
|
||||||
-f org-html-export-to-html
|
-f org-html-export-to-html \
|
||||||
mv ${local_html} ${DOCS}
|
-f org-ascii-export-to-ascii
|
||||||
|
mv ${local_html} ${local_text} ${DOCS}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user