Mercurial > mxe-octave
comparison configure.ac @ 3367:cfcbe03c9160
installer: Enable documentation build and add to installer.
* makefile: add ENABLE_DOCS variable.
* configure.ac: add --enable-docs arg (default yes)
* makeinst-script.sh:
- fix some \ vs \\ issues in script.
- add shortcuts for documentation (if docs were created)
* octave.mk: use --enable-docs if ENABLE_DOCS variable is yes, and install html and PDF docs.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 09 Dec 2013 20:23:14 -0500 |
parents | 4372645ff7e3 |
children | 6cf5d50556d4 |
comparison
equal
deleted
inserted
replaced
3366:ab6116aa1039 | 3367:cfcbe03c9160 |
---|---|
84 AC_ARG_ENABLE([java], | 84 AC_ARG_ENABLE([java], |
85 [AS_HELP_STRING([--disable-java], [Disable Java])], | 85 [AS_HELP_STRING([--disable-java], [Disable Java])], |
86 [if test "$enableval" = no; then ENABLE_JAVA=no; fi], []) | 86 [if test "$enableval" = no; then ENABLE_JAVA=no; fi], []) |
87 AC_SUBST(ENABLE_JAVA) | 87 AC_SUBST(ENABLE_JAVA) |
88 | 88 |
89 ENABLE_DOCS=yes | |
90 AC_ARG_ENABLE([docs], | |
91 [AS_HELP_STRING([--disable-docs], [Disable Octave docs])], | |
92 [if test "$enableval" = no; then ENABLE_DOCS=no; fi], []) | |
93 AC_SUBST(ENABLE_DOCS) | |
94 | |
89 MXE_NATIVE_BUILD=no | 95 MXE_NATIVE_BUILD=no |
90 AC_ARG_ENABLE([native-build], | 96 AC_ARG_ENABLE([native-build], |
91 [AS_HELP_STRING([--enable-native-build], | 97 [AS_HELP_STRING([--enable-native-build], |
92 [Enable native build (default is cross compile)])], | 98 [Enable native build (default is cross compile)])], |
93 [if test "$enableval" = yes; then MXE_NATIVE_BUILD=yes; fi], []) | 99 [if test "$enableval" = yes; then MXE_NATIVE_BUILD=yes; fi], []) |