annotate src/stable-octave.mk @ 3560:e14baae9ec8c

stable-octave.mk: fix URL for octave 3.8.1 download
author John W. Eaton <jwe@octave.org>
date Fri, 07 Mar 2014 17:38:19 -0500
parents c102f813be47
children f2503a486cce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
2961
170d65292853 src/stable-octave.mk: fix package name
John W. Eaton <jwe@octave.org>
parents: 2941
diff changeset
4 PKG := stable-octave
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3558
c102f813be47 update stable-octave to 3.8.1
John W. Eaton <jwe@octave.org>
parents: 3545
diff changeset
6 $(PKG)_VERSION := 3.8.1
c102f813be47 update stable-octave to 3.8.1
John W. Eaton <jwe@octave.org>
parents: 3545
diff changeset
7 $(PKG)_CHECKSUM := 2951aeafe58d562672feb80dd8c3cfe0643a5087
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := octave-$($(PKG)_VERSION)
3558
c102f813be47 update stable-octave to 3.8.1
John W. Eaton <jwe@octave.org>
parents: 3545
diff changeset
9 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.bz2
3560
e14baae9ec8c stable-octave.mk: fix URL for octave 3.8.1 download
John W. Eaton <jwe@octave.org>
parents: 3558
diff changeset
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/octave/$($(PKG)_FILE)
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
12 $(PKG)_FONTCONFIG := fontconfig
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
13 endif
3545
c21ca79d7980 Remove ENABLE_OPEN_BLAS from .mk files and use just to add openblass to the distribution
John Donoghue
parents: 3534
diff changeset
14 $(PKG)_DEPS := blas arpack curl fftw fltk $($(PKG)_FONTCONFIG) gl2ps glpk gnuplot graphicsmagick hdf5 lapack pcre pstoedit qhull qrupdate qscintilla qt readline suitesparse texinfo zlib
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
15 ifeq ($(ENABLE_JIT),yes)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
16 $(PKG)_DEPS += llvm
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
17 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
18 else
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
19 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
20 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
21
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
22 ifeq ($(ENABLE_JAVA),no)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
23 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := --disable-java
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
24 else
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
25 ifeq ($(MXE_SYSTEM),mingw)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
26 ifeq ($(MXE_NATIVE_BUILD),no)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
27 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := \
3527
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
28 --with-java-includedir="$(HOST_INCDIR)/java"
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
29 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
30 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
31 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
32
3497
ddaf87b79532 pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
33 ifneq ($(ENABLE_DOCS),yes)
ddaf87b79532 pass --disable-docs to Octave configure script unless ENABLE_DOCS == yes
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
34 $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --disable-docs
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
35 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
36
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
37 ifeq ($(MXE_NATIVE_BUILD),yes)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
38 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
39 ifeq ($(ENABLE_64),yes)
3498
0b21a39bc9d4 pass F77_INTEGER_8_FLAG=... for Octave configure script if --enable-64
John W. Eaton <jwe@octave.org>
parents: 3497
diff changeset
40 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 F77_INTEGER_8_FLAG=-fdefault-integer-8
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
41 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
42 else
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
43 ifeq ($(MXE_SYSTEM),mingw)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
44 $(PKG)_CROSS_CONFIG_OPTIONS := \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
45 FLTK_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)fltk-config' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
46 gl_cv_func_gettimeofday_clobber=no
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
47 ifeq ($(ENABLE_64),yes)
3498
0b21a39bc9d4 pass F77_INTEGER_8_FLAG=... for Octave configure script if --enable-64
John W. Eaton <jwe@octave.org>
parents: 3497
diff changeset
48 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 F77_INTEGER_8_FLAG=-fdefault-integer-8 ax_blas_f77_func_ok=yes
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
49 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
50 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
51 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
52
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
53 ifeq ($(MXE_SYSTEM),msvc)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
54 $(PKG)_PREFIX := '$(HOST_PREFIX)/local/$($(PKG)_SUBDIR)'
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
55 # - Enable atomic refcount (required for QtHandles)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
56 # - Skip configure test for pow and sqrt, MSVC fails to compile them
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
57 # because it uses intrinsics (with -O2 flag) and bump on the fake
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
58 # "char FUNC()" forward declaration.
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
59 # - Override CFLAGS and CXXFLAGS to disable some warnings.
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
60 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
61 --enable-atomic-refcount \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
62 ac_cv_func_pow=yes ac_cv_func_sqrt=yes \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
63 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
64 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068'
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
65 else
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
66 $(PKG)_PREFIX := '$(HOST_PREFIX)'
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
67 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
68 LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)'
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
69 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
70
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 define $(PKG)_UPDATE
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 echo 'Warning: Updates are temporarily disabled for package octave.' >&2;
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 echo $($(PKG)_VERSION)
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 endef
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 define $(PKG)_BUILD
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
77 # jni install
3527
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
78 if [ "$(MXE_SYSTEM)" == "mingw" ] \
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
79 && [ "$(MXE_NATIVE_BUILD)" == "no" ] \
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
80 && [ "$(ENABLE_JAVA)" == "yes" ]; then \
3519
de728273f855 update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents: 3516
diff changeset
81 if [ ! -f $(HOST_INCDIR)/java/jni.h ]; then \
3527
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
82 mkdir -p '$(HOST_INCDIR)/java'; \
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
83 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/share/javavm/export/jni.h \
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
84 -O $(HOST_INCDIR)/java/jni.h; \
3516
3b5b776331f1 Only download java .h files if not already available
John Donoghue <john.donoghue@ieee.org>
parents: 3498
diff changeset
85 fi; \
3519
de728273f855 update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents: 3516
diff changeset
86 if [ ! -f $(HOST_INCDIR)/java/win32/jni_md.h ]; then \
3527
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
87 mkdir -p '$(HOST_INCDIR)/java/win32'; \
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
88 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/windows/javavm/export/jni_md.h \
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
89 -O $(HOST_INCDIR)/java/win32/jni_md.h; \
3516
3b5b776331f1 Only download java .h files if not already available
John Donoghue <john.donoghue@ieee.org>
parents: 3498
diff changeset
90 fi; \
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
91 fi
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
92
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
93 mkdir '$(1)/.build'
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
94 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
95 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
96 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
97 --prefix='$($(PKG)_PREFIX)' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
98 $($(PKG)_CROSS_CONFIG_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
99 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
100 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
101 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
102 $($(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
103 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
104 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
105 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
106 && $(CONFIGURE_POST_HOOK)
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108 ## We want both of these install steps so that we install in the
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109 ## location set by the configure --prefix option, and the other
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
110 ## in a directory tree that will have just Octave files.
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
111 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
112
3423
c8e055d83b9f Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents: 3417
diff changeset
113 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
114 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
115 fi
c8e055d83b9f Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents: 3417
diff changeset
116
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
117 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
118 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(3) install-pdf install-html; \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
119 fi
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
120
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
121 if [ $(MXE_SYSTEM) != msvc ]; then \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
122 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(TOP_DIR)/octave install; \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
123 fi
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
124
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
125 # 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: 3048
diff changeset
126 echo "$($(PKG)_VERSION)" > $(TOP_DIR)/octave/octave-version
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 endef