Mercurial > octave-nkf
annotate Makefile.am @ 18888:0a66861d8069 gui-release
implementation of search in selection in gui editor (bbug #41196)
* configure.ac: do the check OCTAVE_CHECK_FUNC_QSCI_FINDSELECTION
* acinclude.m4 (OCTAVE_CHECK_FUNC_QSCI_FINDSELECTION): new function testing
whether QsciScintilla::findFirstInSelection is available (added in 2.7)
* find-dialog.cc (constructor): box for searching in selection enabled when
function is available, connect signals when search has changed and when
search selection is activated to the new related slots, initialize new
flag for indicating an ongoing replace;
(handle_search_text_changed): new slot reseting search result;
(handle_sel_search_changed): new slot reseting search result;
(handle_selection_changed): new slot enabling check box for search selection,
nothing is done when the change was due to a replace operation;
(find): revise calculation of cursor position for starting the search at end,
add searching in selection if related check box is checked, use backward
search when replacing all
(do_replace): set flag for an active replace operation indicating that the
selection is not changed by the user;
(replace): switch to robust backward search, using new function do_replace;
(replace_all): recover cursor position only when nor searching in selection,
reset search result after operation, using new function do_replace
* find-dialog.h: new flag for active replace operation, new slots
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 22 Jun 2014 15:42:00 +0200 |
parents | 3c1a28978599 |
children | 8473198fd005 bebe22d2cb58 |
rev | line source |
---|---|
15269
b42167e9d805
maint: Update Makefile.am comments to refer to Octave (program) rather than octave (command).
Rik <rik@octave.org>
parents:
15196
diff
changeset
|
1 # Makefile for Octave |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
17744
d63878346099
maint: Update copyright notices for release.
John W. Eaton <jwe@octave.org>
parents:
17232
diff
changeset
|
3 # Copyright (C) 1993-2013 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
21 include build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
23 ## Avoid making multiple subdirs in parallel which can lead |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
24 ## to a confusing error message stream |
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
25 .NOTPARALLEL: |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 ACLOCAL_AMFLAGS = -I m4 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
29 BUILT_DISTFILES = AUTHORS BUGS ChangeLog INSTALL.OCTAVE |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 EXTRA_DIST = \ |
12337
7902f90600b5
Add .ico logo left out of icons changset.
Rik <octave@nomad.inbox5.com>
parents:
12161
diff
changeset
|
32 AUTHORS \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 BUGS \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 COPYING \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
35 ChangeLog \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 INSTALL \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 INSTALL.OCTAVE \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 NEWS \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 README \ |
16178
3a93af21d206
New function citation() to display citation information (patch #7960)
Carnë Draug <carandraug@octave.org>
parents:
16031
diff
changeset
|
40 CITATION \ |
16031
6076458ddf98
distribute build-aux/find-files-with-tests.sh
John W. Eaton <jwe@octave.org>
parents:
15920
diff
changeset
|
41 build-aux/find-files-with-tests.sh \ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
42 build-aux/mk-opts.pl \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
43 build-aux/move-if-change \ |
15763
56239ff815a3
build: Overhaul auto-detection of Java when JAVA_HOME is not set.
Rik <rik@octave.org>
parents:
15456
diff
changeset
|
44 build-aux/OctJavaQry.class \ |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
45 build-aux/stl_algo.h-fixed \ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
46 etc/NEWS.1 \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
47 etc/NEWS.2 \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
48 etc/NEWS.3 \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
49 etc/OLD-ChangeLogs/ChangeLog \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
50 etc/OLD-ChangeLogs/ChangeLog.1 \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
51 etc/OLD-ChangeLogs/doc-ChangeLog \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
52 etc/OLD-ChangeLogs/libcruft-ChangeLog \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
53 etc/OLD-ChangeLogs/liboctave-ChangeLog \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
54 etc/OLD-ChangeLogs/scripts-ChangeLog \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
55 etc/OLD-ChangeLogs/src-ChangeLog \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
56 etc/OLD-ChangeLogs/test-ChangeLog \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
57 etc/PROJECTS \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
58 etc/README.Cygwin \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
59 etc/README.Linux \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
60 etc/README.MacOS \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
61 etc/README.MinGW \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
62 etc/README.Windows \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
63 etc/README.gnuplot \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
64 etc/README.kpathsea \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
65 etc/gdbinit \ |
17763
32344942ee6e
Distribute an AppData for Octave as suggested by freedesktop.org (bug #40356)
Carnë Draug <carandraug@octave.org>
parents:
17744
diff
changeset
|
66 etc/octave.appdata.xml \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
67 run-octave.in |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 include m4/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 |
16758
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
71 # Subdirectories in which to run `make all'. Including "." before |
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
72 # @DOCDIR@ is an attempt to force all preceding directories in the list |
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
73 # to be processed before the current directory so that the |
16331
8b70f6118a5e
build top-level directory after scripts and src directories
John W. Eaton <jwe@octave.org>
parents:
16330
diff
changeset
|
74 # scripts/DOCSTRINGS libinterp/DOCSTRINGS files are built before |
16758
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
75 # attempting to build AUTHORS and BUGS. Including "." again at the end |
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
76 # of the list ensures that we display the "Octave sucessfully built..." |
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
77 # message at the very end of the output from Make. Another fix for |
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
78 # these problems would be to continue eliminating the recursive make |
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
79 # invocations so that we have better control over the dependencies and |
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
80 # the order that things are built. |
16329
7d0848353eaf
build: allow make dist in libgui without Qt (bug #38518)
Mike Miller <mtmiller@ieee.org>
parents:
16178
diff
changeset
|
81 SUBDIRS = libgnu liboctave libinterp |
7d0848353eaf
build: allow make dist in libgui without Qt (bug #38518)
Mike Miller <mtmiller@ieee.org>
parents:
16178
diff
changeset
|
82 if AMCOND_BUILD_GUI |
7d0848353eaf
build: allow make dist in libgui without Qt (bug #38518)
Mike Miller <mtmiller@ieee.org>
parents:
16178
diff
changeset
|
83 SUBDIRS += libgui |
7d0848353eaf
build: allow make dist in libgui without Qt (bug #38518)
Mike Miller <mtmiller@ieee.org>
parents:
16178
diff
changeset
|
84 endif |
16758
6a18ce4723f9
restore final summary to end of make messages
John W. Eaton <jwe@octave.org>
parents:
16603
diff
changeset
|
85 SUBDIRS += src scripts . @DOCDIR@ examples test . |
10092
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
86 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
87 if ! AMCOND_BUILD_DOCS |
10092
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
88 dist-hook: |
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
89 echo "Documentation disabled. Cannot package distribution!" ; exit 1; |
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
90 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
91 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
92 BUILT_SOURCES = run-octave |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
93 |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
94 if AMCOND_HAVE_BROKEN_STL_ALGO_H |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
95 BUILT_SOURCES += bits/stl_algo.h |
17880
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
96 else |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
97 BUILT_SOURCES += nonexistent-file |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
98 endif |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
99 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
100 noinst_SCRIPTS = run-octave |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
101 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
102 INFO_FILES = \ |
12154
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
103 AUTHORS \ |
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
104 BUGS \ |
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
105 INSTALL.OCTAVE |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
106 |
12754
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12740
diff
changeset
|
107 CLEANFILES = $(BUILT_SOURCES) |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9864
diff
changeset
|
108 |
14653
af953acc055d
build: Enable Autotools 'distcheck' target to complete successfully.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
109 DISTCLEANFILES = \ |
af953acc055d
build: Enable Autotools 'distcheck' target to complete successfully.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
110 .gdbinit \ |
af953acc055d
build: Enable Autotools 'distcheck' target to complete successfully.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
111 ChangeLog |
12740
0fe2eb81e6d0
maint: don't remove distributed files with make distclean target
John W. Eaton <jwe@octave.org>
parents:
12737
diff
changeset
|
112 |
0fe2eb81e6d0
maint: don't remove distributed files with make distclean target
John W. Eaton <jwe@octave.org>
parents:
12737
diff
changeset
|
113 MAINTAINERCLEANFILES = $(BUILT_DISTFILES) |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9864
diff
changeset
|
114 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
115 CONFIG_FILES = @ac_config_headers@ @ac_config_files@ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
116 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
117 nodist_octinclude_HEADERS = config.h |
16330
306e0ac231d0
move AH_BOTTOM output to separate header file
John W. Eaton <jwe@octave.org>
parents:
16329
diff
changeset
|
118 octinclude_HEADERS = oct-conf-post.h |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
119 |
12754
5ee4fc58585f
* Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents:
12740
diff
changeset
|
120 all-local: $(noinst_SCRIPTS) $(INFO_FILES) .gdbinit |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
121 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
122 @echo "Octave successfully built. Now choose from the following:" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
123 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
124 @echo " ./run-octave - to run in place to test before installing" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
125 @echo " make check - to run the tests" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
126 @echo " make install - to install (PREFIX=$(prefix))" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
127 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
128 |
12471 | 129 check: all |
130 $(MAKE) -C test check | |
131 | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
132 run-octave: run-octave.in Makefile |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
133 @$(do_subst_script_vals) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
134 chmod a+rx "$@" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
135 |
17878
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
136 bits/stl_algo.h: build-aux/stl_algo.h-fixed |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
137 $(MKDIR_P) bits |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
138 $(INSTALL_HEADER) $< $@ |
0d660785098e
work around GCC bug in stl_algo.h (nth_element and sort; bug #40436)
John W. Eaton <jwe@octave.org>
parents:
17763
diff
changeset
|
139 |
17880
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
140 ## If we aren't trying to fix stl_algo.h, then try to ensure that |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
141 ## there isn't a stray copy sitting in the build tree. |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
142 |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
143 nonexistent-file: |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
144 rm -f bits/stl_algo.h |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
145 .PHONY: nonexistent-file |
51a3b3fa981f
try to ensure that stray bits/stl_algo.h file is not in build tree
John W. Eaton <jwe@octave.org>
parents:
17878
diff
changeset
|
146 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
147 .gdbinit: etc/gdbinit |
16603
e5c0acc31640
install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents:
16331
diff
changeset
|
148 @$(gdbinit_install_rule) |
10360
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
149 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
150 if AMCOND_BUILD_DOCS |
12154
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
151 AUTHORS BUGS INSTALL.OCTAVE: |
12161
1c5ecdda4e9a
Directly update AUTHORS, BUGS, INSTALL.OCTAVE files rather than running multiple 'make subdir' operations.
Rik <octave@nomad.inbox5.com>
parents:
12156
diff
changeset
|
152 $(MAKE) -C doc/interpreter ../../$@ |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
153 endif |
12154
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
154 .PHONY: AUTHORS BUGS INSTALL.OCTAVE |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
155 |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
156 ChangeLog: |
12736
dd9b46dff1ac
maint: Restore auto-generation of ChangeLog file lost in directory reorginization
Rik <octave@nomad.inbox5.com>
parents:
12733
diff
changeset
|
157 (cd $(srcdir); hg log --style=build-aux/changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; echo ""; echo "See the files in the directory etc/OLD-ChangeLogs for changes before 2011-04-19") > $@.t |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
158 mv $@.t $@ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
159 .PHONY: ChangeLog |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
160 |
16178
3a93af21d206
New function citation() to display citation information (patch #7960)
Carnë Draug <carandraug@octave.org>
parents:
16031
diff
changeset
|
161 octetc_DATA = \ |
18478
3c1a28978599
install config.log in $octetc directory
John W. Eaton <jwe@octave.org>
parents:
18090
diff
changeset
|
162 CITATION \ |
16178
3a93af21d206
New function citation() to display citation information (patch #7960)
Carnë Draug <carandraug@octave.org>
parents:
16031
diff
changeset
|
163 NEWS \ |
18478
3c1a28978599
install config.log in $octetc directory
John W. Eaton <jwe@octave.org>
parents:
18090
diff
changeset
|
164 config.log |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
165 |
17102
c48625614ea6
Properly incorporate Doxygen into the build system
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14138
diff
changeset
|
166 doxyhtml: |
17112
eff3d78367f0
* Makefile.am (doxyhtml): Restore doxyhtml argument in recursive make call
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
17102
diff
changeset
|
167 $(MAKE) -C doc/doxyhtml doxyhtml |
17102
c48625614ea6
Properly incorporate Doxygen into the build system
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14138
diff
changeset
|
168 .PHONY: doxyhtml |
c48625614ea6
Properly incorporate Doxygen into the build system
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
14138
diff
changeset
|
169 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
170 DIRS_TO_MAKE = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
171 $(localfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 $(localapifcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
173 $(localverfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
174 $(localoctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
175 $(localapioctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
176 $(localveroctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
177 $(localarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
178 $(localapiarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
179 $(localverarchlibdir) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
180 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
181 installdirs-local: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
182 $(MKDIR_P) $(addprefix $(DESTDIR), $(DIRS_TO_MAKE)) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
183 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
184 install-data-local: installdirs-local |