Mercurial > octave-nkf
changeset 15504:bd947371c2c9
Export doc-cache in distribution tarball (bug #37542)
* doc/interpreter/Makefile.am: Add doc-cache to EXTRA_DIST target.
* doc/interpreter/mk_doc_cache.m: Define save_header_format_string so
that user and host information isn't exported into tarball.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 11 Oct 2012 12:13:28 -0700 |
parents | dca1f2bcccf3 |
children | a7794a192b47 |
files | doc/interpreter/Makefile.am doc/interpreter/mk_doc_cache.m |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/Makefile.am Thu Oct 11 14:16:10 2012 -0400 +++ b/doc/interpreter/Makefile.am Thu Oct 11 12:13:28 2012 -0700 @@ -249,6 +249,7 @@ EXTRA_DIST = \ config-images.sh \ contributors.in \ + doc-cache \ find-docstring-files.sh \ images \ images.awk \
--- a/doc/interpreter/mk_doc_cache.m Thu Oct 11 14:16:10 2012 -0400 +++ b/doc/interpreter/mk_doc_cache.m Thu Oct 11 12:13:28 2012 -0700 @@ -121,4 +121,5 @@ cache(:,k:end) = []; # delete unused pre-allocated entries +save_header_format_string (["# doc-cache created by Octave " OCTAVE_VERSION ", %a %b %d %H:%M:%S %Y %Z"]); save ("-text", output_file, "cache");