Mercurial > hg > octave-lyh
changeset 15492:f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
* Makefile.am: Only trigger install-built-in-docstrings if
AMCOND_BUILD_DOCS is present.
author | Stefan Husmann <stefan-husmann@t-online.de> |
---|---|
date | Fri, 05 Oct 2012 08:40:29 -0400 |
parents | c9844b82945f |
children | 9ccf4ffb9fa2 |
files | libinterp/Makefile.am |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/Makefile.am +++ b/libinterp/Makefile.am @@ -280,7 +280,11 @@ all-local: $(OCT_STAMP_FILES) $(DLDFCN_PKG_ADD_FILE) endif +if AMCOND_BUILD_DOCS install-data-hook: install-oct install-built-in-docstrings +else +install-data-hook: install-oct +endif uninstall-local: uninstall-oct @@ -314,10 +318,12 @@ endif .PHONY: install-oct uninstall-oct +if AMCOND_BUILD_DOCS install-built-in-docstrings: $(MKDIR_P) $(DESTDIR)$(octetcdir) $(INSTALL_DATA) DOCSTRINGS $(DESTDIR)$(octetcdir)/built-in-docstrings .PHONY: install-built-in-docstrings +endif CLEANFILES = \ $(DLDFCN_PKG_ADD_FILE) \