annotate src/stable-octave.mk @ 3534:b86f53e6429f

correct URL for stable-octave release candidate
author John W. Eaton <jwe@octave.org>
date Mon, 17 Feb 2014 12:05:56 -0500
parents f285f1a665d4
children c21ca79d7980
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 :=
3532
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3527
diff changeset
6 $(PKG)_VERSION := 3.8.1-rc3
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3527
diff changeset
7 $(PKG)_CHECKSUM := 437568b1e2b2a8194451ce604a3e2a99f3593a7d
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := octave-$($(PKG)_VERSION)
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz
3534
b86f53e6429f correct URL for stable-octave release candidate
John W. Eaton <jwe@octave.org>
parents: 3532
diff changeset
10 $(PKG)_URL := ftp://alpha.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
3527
b111822b0bf0 stable-octave.mk, octave.mk: Set java include dir, not home dir.
John W. Eaton <jwe@octave.org>
parents: 3519
diff changeset
14 $(PKG)_DEPS := 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 ($(ENABLE_OPENBLAS),yes)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
38 $(PKG)_DEPS += openblas
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
39 $(PKG)_BLAS_OPTION := --with-blas=openblas
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
40 else
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
41 $(PKG)_DEPS += blas
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
42 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
43
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
44 ifeq ($(MXE_NATIVE_BUILD),yes)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
45 $(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
46 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
47 $(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
48 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
49 else
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
50 ifeq ($(MXE_SYSTEM),mingw)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
51 $(PKG)_CROSS_CONFIG_OPTIONS := \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
52 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
53 gl_cv_func_gettimeofday_clobber=no
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
54 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
55 $(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
56 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
57 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
58 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
59
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
60 ifeq ($(MXE_SYSTEM),msvc)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
61 $(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
62 # - Enable atomic refcount (required for QtHandles)
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
63 # - 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
64 # 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
65 # "char FUNC()" forward declaration.
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
66 # - 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
67 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
68 --enable-atomic-refcount \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
69 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
70 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
71 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068'
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
72 else
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
73 $(PKG)_PREFIX := '$(HOST_PREFIX)'
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
74 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
75 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
76 endif
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
77
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
78 define $(PKG)_UPDATE
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 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
80 echo $($(PKG)_VERSION)
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81 endef
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 define $(PKG)_BUILD
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
84 # 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
85 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
86 && [ "$(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
87 && [ "$(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
88 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
89 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
90 $(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
91 -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
92 fi; \
3519
de728273f855 update stable-octave package for 3.8.1-rc1
John W. Eaton <jwe@octave.org>
parents: 3516
diff changeset
93 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
94 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
95 $(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
96 -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
97 fi; \
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
98 fi
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
99
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 mkdir '$(1)/.build'
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
101 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
102 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
103 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
104 --prefix='$($(PKG)_PREFIX)' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
105 $($(PKG)_BLAS_OPTION) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
106 $($(PKG)_CROSS_CONFIG_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
107 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
108 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
109 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
110 $($(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
111 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
112 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
113 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
114 && $(CONFIGURE_POST_HOOK)
2939
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115
30a5052213e6 octave-stable: build stable version of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116 ## 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
117 ## 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
118 ## 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
119 $(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
120
3423
c8e055d83b9f Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents: 3417
diff changeset
121 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
122 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
123 fi
c8e055d83b9f Set start directory to user home (Bug #41220)
John D <john.donoghue@ieee.org>
parents: 3417
diff changeset
124
3383
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
125 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
126 $(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
127 fi
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
128
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
129 if [ $(MXE_SYSTEM) != msvc ]; then \
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
130 $(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
131 fi
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
132
6dfbea9a9646 Update stable-octave to 3.8.0
John Donoghue <john.donoghue@ieee.org>
parents: 3048
diff changeset
133 # 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
134 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
135 endef