annotate src/default-octave.mk @ 3779:1c0d13ac788e

default-octave: update for change in default octave version number * src/default-octave.mk: change 4.1.0+ to 3.9.0+
author John Donoghue <john.donoghue@ieee.org>
date Sun, 01 Feb 2015 13:32:20 -0500
parents 80b2b5cfde0f
children 1e3c4d5240bb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3721
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
3758
d80808c840aa omit checksum for default-octave package
John W. Eaton <jwe@octave.org>
parents: 3755
diff changeset
4 ## We omit the package checksum so that we don't have to update it
d80808c840aa omit checksum for default-octave package
John W. Eaton <jwe@octave.org>
parents: 3755
diff changeset
5 ## each time the tarball changes on the hydra site.
d80808c840aa omit checksum for default-octave package
John W. Eaton <jwe@octave.org>
parents: 3755
diff changeset
6
3722
26f68f03c4b2 default-octave: fix typo in name of package
John Donoghue <john.donoghue@ieee.org>
parents: 3721
diff changeset
7 PKG := default-octave
3721
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_IGNORE :=
3779
1c0d13ac788e default-octave: update for change in default octave version number
John Donoghue <john.donoghue@ieee.org>
parents: 3768
diff changeset
9 $(PKG)_VERSION := 3.9.0+
3758
d80808c840aa omit checksum for default-octave package
John W. Eaton <jwe@octave.org>
parents: 3755
diff changeset
10 $(PKG)_CHECKSUM := ## No checksum
3721
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_SUBDIR := octave-$($(PKG)_VERSION)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 $(PKG)_URL := http://hydra.nixos.org/job/gnu/octave-default/tarball/latest/download
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 ifeq ($(USE_SYSTEM_FONTCONFIG),no)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 $(PKG)_FONTCONFIG := fontconfig
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 endif
3768
80b2b5cfde0f default-octave: add portaudio, libsndfile as a build dependancy
John Donoghue <john.donoghue@ieee.org>
parents: 3762
diff changeset
17 $(PKG)_DEPS := blas arpack curl epstool fftw fltk $($(PKG)_FONTCONFIG) ghostscript gl2ps glpk gnuplot graphicsmagick hdf5 lapack libsndfile pcre portaudio pstoedit qrupdate qscintilla qt readline suitesparse texinfo zlib
3743
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents: 3722
diff changeset
18 ifeq ($(MXE_WINDOWS_BUILD),no)
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents: 3722
diff changeset
19 $(PKG)_DEPS += x11 xext
4f58c4b4dee0 build libX11 and dependencies
John W. Eaton <jwe@octave.org>
parents: 3722
diff changeset
20 endif
3721
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 ifeq ($(ENABLE_64),no)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 $(PKG)_DEPS += qhull
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 ifeq ($(ENABLE_JIT),yes)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 $(PKG)_DEPS += llvm
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
26 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
27 else
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
28 $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
29 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
30
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
31 ifeq ($(ENABLE_JAVA),no)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
32 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := --disable-java
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
33 else
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
34 ifeq ($(MXE_SYSTEM),mingw)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
35 ifeq ($(MXE_NATIVE_BUILD),no)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
36 $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
37 --with-java-includedir="$(HOST_INCDIR)/java"
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
38 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
39 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
40 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
41
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
42 ifneq ($(ENABLE_DOCS),yes)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
43 $(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS := --disable-docs
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
44 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
45
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
46 ifeq ($(MXE_NATIVE_BUILD),yes)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
47 $(PKG)_CONFIGURE_ENV := LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
48 ifeq ($(ENABLE_64),yes)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
49 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 --without-qhull F77_INTEGER_8_FLAG=-fdefault-integer-8
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
50 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
51 else
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
52 ifeq ($(MXE_SYSTEM),mingw)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
53 $(PKG)_CROSS_CONFIG_OPTIONS := \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
54 FLTK_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)fltk-config' \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
55 gl_cv_func_gettimeofday_clobber=no
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
56 ifeq ($(ENABLE_64),yes)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
57 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := --enable-64 --without-qhull F77_INTEGER_8_FLAG=-fdefault-integer-8 ax_blas_f77_func_ok=yes
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
58 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
59 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
60 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
61
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
62 ifeq ($(MXE_SYSTEM),msvc)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
63 $(PKG)_PREFIX := '$(HOST_PREFIX)/local/$($(PKG)_SUBDIR)'
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
64 # - Enable atomic refcount (required for QtHandles)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
65 # - Skip configure test for pow and sqrt, MSVC fails to compile them
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
66 # because it uses intrinsics (with -O2 flag) and bump on the fake
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
67 # "char FUNC()" forward declaration.
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
68 # - Override CFLAGS and CXXFLAGS to disable some warnings.
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
69 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
70 --enable-atomic-refcount \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
71 ac_cv_func_pow=yes ac_cv_func_sqrt=yes \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
72 CFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068' \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
73 CXXFLAGS='-O2 -wd4244 -wd4003 -wd4005 -wd4068'
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
74 else
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
75 $(PKG)_PREFIX := '$(HOST_PREFIX)'
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
76 $(PKG)_EXTRA_CONFIGURE_OPTIONS := \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
77 LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)'
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
78 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
79
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
80 ifeq ($(MXE_SYSTEM),mingw)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
81 $(PKG)_EXTRA_CONFIGURE_OPTIONS += --with-x=no
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
82 endif
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
83
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
84 define $(PKG)_UPDATE
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
85 echo 'Warning: Updates are temporarily disabled for package octave.' >&2;
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
86 echo $($(PKG)_VERSION)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
87 endef
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
88
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
89 define $(PKG)_BUILD
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
90 # jni install
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
91 if [ "$(MXE_SYSTEM)" == "mingw" ] \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
92 && [ "$(MXE_NATIVE_BUILD)" == "no" ] \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
93 && [ "$(ENABLE_JAVA)" == "yes" ]; then \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
94 if [ ! -f $(HOST_INCDIR)/java/jni.h ]; then \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
95 mkdir -p '$(HOST_INCDIR)/java'; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
96 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/share/javavm/export/jni.h \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
97 -O $(HOST_INCDIR)/java/jni.h; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
98 fi; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
99 if [ ! -f $(HOST_INCDIR)/java/win32/jni_md.h ]; then \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
100 mkdir -p '$(HOST_INCDIR)/java/win32'; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
101 $(WGET) -N http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/raw-file/tip/src/windows/javavm/export/jni_md.h \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
102 -O $(HOST_INCDIR)/java/win32/jni_md.h; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
103 fi; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
104 fi
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
105
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
106 mkdir '$(1)/.build'
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
107 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
108 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
109 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
110 --prefix='$($(PKG)_PREFIX)' \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
111 $($(PKG)_CROSS_CONFIG_OPTIONS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
112 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
113 $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
114 $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
115 $($(PKG)_ENABLE_DOCS_CONFIGURE_OPTIONS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
116 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
117 PKG_CONFIG='$(MXE_PKG_CONFIG)' \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
118 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
119 && $(CONFIGURE_POST_HOOK)
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
120
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
121 ## We want both of these install steps so that we install in the
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
122 ## location set by the configure --prefix option, and the other
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
123 ## in a directory tree that will have just Octave files.
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
124 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
125
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
126 if [ "x$(MXE_SYSTEM)" == "xmingw" ]; then \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
127 cp '$(1)/.build/src/.libs/octave-gui.exe' '$(3)$(HOST_BINDIR)'; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
128 fi
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
129
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
130 if [ "x$(ENABLE_DOCS)" == "xyes" ]; then \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
131 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(3) install-pdf install-html; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
132 fi
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
133
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
134 if [ $(MXE_SYSTEM) != msvc ]; then \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
135 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(TOP_DIR)/octave install; \
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
136 fi
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
137
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
138 # create a file with latest installed octave rev in it
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
139 echo "$($(PKG)_VERSION)" > $(TOP_DIR)/octave/octave-version
933b99febcf1 Expand options to support 3 possible sources of octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
140 endef