Skip to content
Snippets Groups Projects
Commit 39287211 authored by Stéphane Adjemian (Charybdis)'s avatar Stéphane Adjemian (Charybdis)
Browse files

Merge remote branch 'origin/master'

parents 5c709e47 02cc9cbd
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,8 @@ ylwrap ...@@ -65,6 +65,8 @@ ylwrap
!/doc/parallel/RWMH_quest1_*.pdf !/doc/parallel/RWMH_quest1_*.pdf
!/doc/parallel/waitbars*.pdf !/doc/parallel/waitbars*.pdf
doc/m2html doc/m2html
doc/internals/*.html
doc/internals/ltxpng
mex/build/matlab/run_m2html.m mex/build/matlab/run_m2html.m
# Preprocessor # Preprocessor
......
...@@ -204,6 +204,11 @@ if test "x$enable_octave" = "xyes"; then ...@@ -204,6 +204,11 @@ if test "x$enable_octave" = "xyes"; then
fi fi
AM_CONDITIONAL([ENABLE_OCTAVE], [test "x$enable_octave" = "xyes"]) AM_CONDITIONAL([ENABLE_OCTAVE], [test "x$enable_octave" = "xyes"])
# Enable exporting of Org files
# The clean way would be to test for Emacs, Org-mode, latex, dvipng...
AC_ARG_ENABLE([org-export], AS_HELP_STRING([--enable-org-export], [enable exporting of Org files (requires Emacs, org-mode and other external programs)]))
AM_CONDITIONAL([ENABLE_ORG_EXPORT], [test "x$enable_org_export" != "x"])
# Construct final output message # Construct final output message
BUILD_PREPROCESSOR="yes" BUILD_PREPROCESSOR="yes"
...@@ -260,6 +265,12 @@ else ...@@ -260,6 +265,12 @@ else
BUILD_DYNARE_PREPROC_DOC="no (missing doxygen)" BUILD_DYNARE_PREPROC_DOC="no (missing doxygen)"
fi fi
if test "x$enable_org_export" != "x"; then
BUILD_DYNARE_INTERNAL_DOC="yes"
else
BUILD_DYNARE_INTERNAL_DOC="no (Org export not enabled)"
fi
if test "x$OCTAVE" != "x"; then if test "x$OCTAVE" != "x"; then
TESTSUITE_OCTAVE="yes" TESTSUITE_OCTAVE="yes"
else else
...@@ -290,6 +301,7 @@ PDF documentation (with "make pdf"): ...@@ -290,6 +301,7 @@ PDF documentation (with "make pdf"):
HTML documentation (with "make html"): HTML documentation (with "make html"):
Dynare reference manual: $BUILD_DYNARE_HTML_MANUAL Dynare reference manual: $BUILD_DYNARE_HTML_MANUAL
Dynare preprocessor developer doc: $BUILD_DYNARE_PREPROC_DOC Dynare preprocessor developer doc: $BUILD_DYNARE_PREPROC_DOC
Dynare internal doc: $BUILD_DYNARE_INTERNAL_DOC
Testsuites (run with "make check"): Testsuites (run with "make check"):
Dynare for Octave: $TESTSUITE_OCTAVE Dynare for Octave: $TESTSUITE_OCTAVE
......
EXTRA_DIST = dynare-internals.org EXTRA_DIST = dynare-internals.org
if ENABLE_ORG_EXPORT
html-local:
emacs --batch --visit=dynare-internals.org --funcall org-export-as-html-batch
endif
clean-local:
rm -rf *.html ltxpng
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment