Mercurial > mxe-octave
diff src/stable-octave-1-docinstall.patch @ 3438:7113585920c9
avoid argument list too long error when installing octave html docs
* src/octave-1-docinstall.patch src/stable-octave-1-docinstall.patch:
New files. Use a loop instead of a single command with globbing to
install html docs.
* src/octave.mk, src/stable-octave.mk: Don't run autoreconf.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 21 Jan 2014 13:59:09 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/stable-octave-1-docinstall.patch Tue Jan 21 13:59:09 2014 -0500 @@ -0,0 +1,16 @@ +diff -ur a/doc/interpreter/Makefile.in b/doc/interpreter/Makefile.in +--- a/doc/interpreter/Makefile.in 2013-12-27 17:01:52.000000000 -0500 ++++ b/doc/interpreter/Makefile.in 2014-01-21 12:47:59.618865568 -0500 +@@ -2435,8 +2435,10 @@ + if test -d "$$d2"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \ + $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ +- echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \ +- $(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ ++ for htm in "$$d2"/*; do \ ++ echo " $(INSTALL_DATA) '$$htm' '$(DESTDIR)$(htmldir)/$$f'"; \ ++ $(INSTALL_DATA) "$$htm" "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ ++ done; \ + else \ + list2="$$list2 $$d2"; \ + fi; \