Mercurial > octave-nkf
diff libinterp/Makefile.am @ 15470:bf0857c789f4
initialize docstrings for built-in functions from file
* libinterp/Makefile.am: Install DOCSTRINGS file in
$(octetcdir)/built-in-docstrings.
* defaults.cc (set_built_in_docstrings_file): New function.
(install_defaults): Call it.
(Vbuilt_in_docstrings_file): New variable.
* defaults.in.h (Vbuilt_in_docstrings_file): Provide decl.
* help.cc (Fbuilt_in_docstrings_file, install_built_in_docstrings):
New functions.
* help.h (install_built_in_docstrings): Provide decl.
* mkbuiltins: Generate call to install_built_in_docstrings at end of
install_builtins function.
* octave.cc: Handle new option --built-in-docstrings-file.
(octave_process_command_line): Handle BUILT_IN_DOCSTRINGS_FILE_OPTION.
* run-octave.in: Pass --built-in-docstrings-file option to Octave.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 02 Oct 2012 15:53:23 -0400 |
parents | 6a05cad5b694 |
children | cb49817af457 |
line wrap: on
line diff
--- a/libinterp/Makefile.am Mon Oct 01 18:32:31 2012 -0400 +++ b/libinterp/Makefile.am Tue Oct 02 15:53:23 2012 -0400 @@ -280,7 +280,7 @@ all-local: $(OCT_STAMP_FILES) $(DLDFCN_PKG_ADD_FILE) endif -install-data-hook: install-oct +install-data-hook: install-oct install-built-in-docstrings uninstall-local: uninstall-oct @@ -314,6 +314,10 @@ endif .PHONY: install-oct uninstall-oct +install-built-in-docstrings: + $(INSTALL_DATA) DOCSTRINGS $(DESTDIR)$(octetcdir)/built-in-docstrings +.PHONY: install-built-in-docstrings + CLEANFILES = \ $(DLDFCN_PKG_ADD_FILE) \ interpfcn/graphics-props.cc \