Mercurial > mxe-octave
annotate 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 |
rev | line source |
---|---|
3438
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 diff -ur a/doc/interpreter/Makefile.in b/doc/interpreter/Makefile.in |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 --- a/doc/interpreter/Makefile.in 2013-12-27 17:01:52.000000000 -0500 |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 +++ b/doc/interpreter/Makefile.in 2014-01-21 12:47:59.618865568 -0500 |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 @@ -2435,8 +2435,10 @@ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 if test -d "$$d2"; then \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 echo " $(MKDIR_P) '$(DESTDIR)$(htmldir)/$$f'"; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 $(MKDIR_P) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 - echo " $(INSTALL_DATA) '$$d2'/* '$(DESTDIR)$(htmldir)/$$f'"; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 - $(INSTALL_DATA) "$$d2"/* "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 + for htm in "$$d2"/*; do \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 + echo " $(INSTALL_DATA) '$$htm' '$(DESTDIR)$(htmldir)/$$f'"; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 + $(INSTALL_DATA) "$$htm" "$(DESTDIR)$(htmldir)/$$f" || exit $$?; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 + done; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 else \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 list2="$$list2 $$d2"; \ |
7113585920c9
avoid argument list too long error when installing octave html docs
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 fi; \ |