Mercurial > mxe-octave
annotate src/octave.mk @ 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 | c8e055d83b9f |
children | 13be64f9f16d |
rev | line source |
---|---|
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := octave |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3402 | 6 $(PKG)_CHECKSUM := 7dc2736d05fef50e4f7b3e1b9ab83c8287e8f267 |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz |
3402 | 9 $(PKG)_URL := ftp://ftp.gnu.org/gnu/octave/$($(PKG)_FILE) |
3208
1080856f48c4
new configure option: --enable-system-fontconfig
John W. Eaton <jwe@octave.org>
parents:
3153
diff
changeset
|
10 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
1080856f48c4
new configure option: --enable-system-fontconfig
John W. Eaton <jwe@octave.org>
parents:
3153
diff
changeset
|
11 $(PKG)_FONTCONFIG := fontconfig |
1080856f48c4
new configure option: --enable-system-fontconfig
John W. Eaton <jwe@octave.org>
parents:
3153
diff
changeset
|
12 endif |
3276 | 13 $(PKG)_DEPS := arpack curl fftw fltk $($(PKG)_FONTCONFIG) gl2ps glpk gnuplot graphicsmagick hdf5 lapack pcre pstoedit qhull qrupdate qscintilla qt readline suitesparse texinfo zlib |
3043
cbfe5d38ff2c
use configure script to generate Makefile
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
14 ifeq ($(ENABLE_JIT),yes) |
cbfe5d38ff2c
use configure script to generate Makefile
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
15 $(PKG)_DEPS += llvm |
3333
4372645ff7e3
Add --disable-java option to configure.
Rik <rik@octave.org>
parents:
3327
diff
changeset
|
16 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit |
3302
3be843f23263
Explicitly disable jit if not jit not enabled
John Donoghue <john.donoghue@ieee.org>
parents:
3276
diff
changeset
|
17 else |
3334
324937497c32
Remove 'remove' from JIT disable option
John Donoghue <john.donoghue@ieee.org>
parents:
3333
diff
changeset
|
18 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit |
3333
4372645ff7e3
Add --disable-java option to configure.
Rik <rik@octave.org>
parents:
3327
diff
changeset
|
19 endif |
4372645ff7e3
Add --disable-java option to configure.
Rik <rik@octave.org>
parents:
3327
diff
changeset
|
20 |
4372645ff7e3
Add --disable-java option to configure.
Rik <rik@octave.org>
parents:
3327
diff
changeset
|
21 ifeq ($(ENABLE_JAVA),no) |
4372645ff7e3
Add --disable-java option to configure.
Rik <rik@octave.org>
parents:
3327
diff
changeset
|
22 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := --disable-java |
3369
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
23 else |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
24 ifeq ($(MXE_SYSTEM),mingw) |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
25 ifeq ($(MXE_NATIVE_BUILD),no) |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
26 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := \ |
3371
d40e120eeb57
bump octave version to 3.8.0-rc2
John W. Eaton <jwe@octave.org>
parents:
3369
diff
changeset
|
27 --with-java-homedir="$(HOST_INCDIR)/java" \ |
d40e120eeb57
bump octave version to 3.8.0-rc2
John W. Eaton <jwe@octave.org>
parents:
3369
diff
changeset
|
28 --with-java-includedir="$(HOST_INCDIR)/java" |
3369
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
29 endif |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
30 endif |
3043
cbfe5d38ff2c
use configure script to generate Makefile
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
31 endif |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
3367
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
33 ifeq ($(ENABLE_DOCS),yes) |
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
34 $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --enable-docs |
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
35 endif |
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
36 |
3068
fb0836e4a677
Add --enable-openblas option to configure
John Donoghue <john.donoghue@ieee.org>
parents:
3056
diff
changeset
|
37 ifeq ($(ENABLE_OPENBLAS),yes) |
fb0836e4a677
Add --enable-openblas option to configure
John Donoghue <john.donoghue@ieee.org>
parents:
3056
diff
changeset
|
38 $(PKG)_DEPS += openblas |
fb0836e4a677
Add --enable-openblas option to configure
John Donoghue <john.donoghue@ieee.org>
parents:
3056
diff
changeset
|
39 $(PKG)_BLAS_OPTION := --with-blas=openblas |
3069
076acecb9c21
Update octave dependancies that use blas to also use openblas
John Donoghue <john.donoghue@ieee.org>
parents:
3068
diff
changeset
|
40 else |
076acecb9c21
Update octave dependancies that use blas to also use openblas
John Donoghue <john.donoghue@ieee.org>
parents:
3068
diff
changeset
|
41 $(PKG)_DEPS += blas |
3068
fb0836e4a677
Add --enable-openblas option to configure
John Donoghue <john.donoghue@ieee.org>
parents:
3056
diff
changeset
|
42 endif |
fb0836e4a677
Add --enable-openblas option to configure
John Donoghue <john.donoghue@ieee.org>
parents:
3056
diff
changeset
|
43 |
2997 | 44 ifeq ($(MXE_NATIVE_BUILD),yes) |
3056
772aedf5f402
octave.mk: delete unnecessary quotes around LD_LIBRARY_PATH
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
45 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) |
3015
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
46 ifeq ($(ENABLE_64),yes) |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
47 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
48 endif |
2997 | 49 else |
50 ifeq ($(MXE_SYSTEM),mingw) | |
51 $(PKG)_CROSS_CONFIG_OPTIONS := \ | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3015
diff
changeset
|
52 FLTK_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)fltk-config' \ |
2997 | 53 gl_cv_func_gettimeofday_clobber=no |
3015
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
54 ifeq ($(ENABLE_64),yes) |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
55 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 ax_blas_f77_func_ok=yes |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
56 endif |
2997 | 57 endif |
58 endif | |
59 | |
3144
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
60 ifeq ($(MXE_SYSTEM),msvc) |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
61 $(PKG)_PREFIX := '$(HOST_PREFIX)/local/$($(PKG)_SUBDIR)' |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
62 # - Enable atomic refcount (required for QtHandles) |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
63 # - Skip configure test for pow and sqrt, MSVC fails to compile them |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
64 # because it uses intrinsics (with -O2 flag) and bump on the fake |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
65 # "char FUNC()" forward declaration. |
3327
5b38e99bbfe4
* src/octave.mk: Disable some warnings for MSVC build.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3323
diff
changeset
|
66 # - Override CFLAGS and CXXFLAGS to disable some warnings. |
3144
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
67 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
68 --enable-atomic-refcount \ |
3327
5b38e99bbfe4
* src/octave.mk: Disable some warnings for MSVC build.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3323
diff
changeset
|
69 ac_cv_func_pow=yes ac_cv_func_sqrt=yes \ |
5b38e99bbfe4
* src/octave.mk: Disable some warnings for MSVC build.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3323
diff
changeset
|
70 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \ |
5b38e99bbfe4
* src/octave.mk: Disable some warnings for MSVC build.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3323
diff
changeset
|
71 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' |
3144
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
72 else |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
73 $(PKG)_PREFIX := '$(HOST_PREFIX)' |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
74 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \ |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
75 LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)' |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
76 endif |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
77 |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 define $(PKG)_UPDATE |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
79 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 echo $(octave_VERSION) |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 endef |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 define $(PKG)_BUILD |
3369
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
84 |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
85 # jni install |
3417
0182ffc974a1
Download win32 jni.h ionly if java is enabled
John Donoghue <john.donoghue@ieee.org>
parents:
3402
diff
changeset
|
86 if [[ "$(MXE_SYSTEM)" == "mingw" && "$(MXE_NATIVE_BUILD)" == "no" && "$(ENABLE_JAVA)" == "yes" ]]; then \ |
3369
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
87 mkdir -p '$(HOST_INCDIR)/java/include'; \ |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
88 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/share/javavm/export/jni.h \ |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
89 -O $(HOST_INCDIR)/java/include/jni.h; \ |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
90 mkdir -p '$(HOST_INCDIR)/java/include/win32'; \ |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
91 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/windows/javavm/export/jni_md.h \ |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
92 -O $(HOST_INCDIR)/java/include/win32/jni_md.h; \ |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
93 fi |
a77a677643d5
Install and use jit header files in cross mingw build.
John Donoghue <john.donoghue@ieee.org>
parents:
3367
diff
changeset
|
94 |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
95 mkdir '$(1)/.build' |
2997 | 96 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
3223
94339f5a27fe
octave.mk: also pass CONFIGURE_LDFLAGS to configure
John W. Eaton <jwe@octave.org>
parents:
3208
diff
changeset
|
97 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
98 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3144
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
99 --prefix='$($(PKG)_PREFIX)' \ |
3068
fb0836e4a677
Add --enable-openblas option to configure
John Donoghue <john.donoghue@ieee.org>
parents:
3056
diff
changeset
|
100 $($(PKG)_BLAS_OPTION) \ |
3323
808b2c61eccb
octave.mk: Replace tabs with spaces for consistent alignment.
Rik <rik@octave.org>
parents:
3318
diff
changeset
|
101 $($(PKG)_CROSS_CONFIG_OPTIONS) \ |
3144
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
102 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \ |
3333
4372645ff7e3
Add --disable-java option to configure.
Rik <rik@octave.org>
parents:
3327
diff
changeset
|
103 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \ |
3144
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
104 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \ |
3367
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
105 $($(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS) \ |
3323
808b2c61eccb
octave.mk: Replace tabs with spaces for consistent alignment.
Rik <rik@octave.org>
parents:
3318
diff
changeset
|
106 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ |
808b2c61eccb
octave.mk: Replace tabs with spaces for consistent alignment.
Rik <rik@octave.org>
parents:
3318
diff
changeset
|
107 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
808b2c61eccb
octave.mk: Replace tabs with spaces for consistent alignment.
Rik <rik@octave.org>
parents:
3318
diff
changeset
|
108 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
3341
b251f4358147
[MSVC] auto-export gnulib symbols from liboctave.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3334
diff
changeset
|
109 && $(CONFIGURE_POST_HOOK) |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
110 |
2936
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
111 ## We want both of these install steps so that we install in the |
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
112 ## location set by the configure --prefix option, and the other |
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
113 ## in a directory tree that will have just Octave files. |
3318
2640cb06f42d
* src/octave.mk: Support file list by using DESTDIR.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3315
diff
changeset
|
114 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' |
3367
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
115 |
3423
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
116 if [ "x$(MXE_SYSTEM)" == "xmingw" ]; then \ |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
117 cp '$(1)/.build/src/.libs/octave-gui.exe' '$(3)$(HOST_BINDIR)'; \ |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
118 fi |
c8e055d83b9f
Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents:
3417
diff
changeset
|
119 |
3367
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
120 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \ |
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
121 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(3) install-pdf install-html; \ |
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
122 fi |
cfcbe03c9160
installer: Enable documentation build and add to installer.
John Donoghue <john.donoghue@ieee.org>
parents:
3346
diff
changeset
|
123 |
3144
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
124 if [ $(MXE_SYSTEM) != msvc ]; then \ |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
125 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(TOP_DIR)/octave install; \ |
433d1bb3cafb
[MSVC] enable octave compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3069
diff
changeset
|
126 fi |
3383
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3371
diff
changeset
|
127 |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3371
diff
changeset
|
128 # create a file with latest installed octave rev in it |
6dfbea9a9646
Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents:
3371
diff
changeset
|
129 echo "$($(PKG)_VERSION)" > $(TOP_DIR)/octave/octave-version |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
130 endef |
2980
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
2975
diff
changeset
|
131 |