Mercurial > octave
annotate Makefile.am @ 20345:10f67e9d1e70
keep list of built images separate from other images
* Makefile.am, doc/module.mk, doc/interpreter/images.awk:
Create separate lists of built images and all images.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 14 Jul 2015 11:34:55 -0400 |
parents | ff56b738854c |
children | d59d9f4ec290 |
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 # |
19697
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
19596
diff
changeset
|
3 # Copyright (C) 1993-2015 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. |
19593
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18914
diff
changeset
|
6 # |
9794
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. |
19593
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18914
diff
changeset
|
11 # |
9794
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. |
19593
446c46af4b42
strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents:
18914
diff
changeset
|
16 # |
9794
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 |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
23 image_DATA = |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
24 octdata_DATA = |
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
25 octetc_DATA = |
20326
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
26 octlocale_DATA = |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
27 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 ACLOCAL_AMFLAGS = -I m4 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 |
20342
0e2da885a410
fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents:
20328
diff
changeset
|
30 DOC_TARGETS = |
0e2da885a410
fix lists of files to distribute
John W. Eaton <jwe@octave.org>
parents:
20328
diff
changeset
|
31 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
32 BUILT_DISTFILES = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
33 BUILT_NODISTFILES = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
34 EXTRA_DIST = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
35 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
36 BUILT_DISTFILES += \ |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
37 AUTHORS \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
38 BUGS \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
39 ChangeLog \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
40 INSTALL.OCTAVE |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
42 EXTRA_DIST += \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
43 COPYING \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 ChangeLog \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
45 INSTALL \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 NEWS \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
47 README \ |
16178
3a93af21d206
New function citation() to display citation information (patch #7960)
Carnë Draug <carandraug@octave.org>
parents:
16031
diff
changeset
|
48 CITATION \ |
16031
6076458ddf98
distribute build-aux/find-files-with-tests.sh
John W. Eaton <jwe@octave.org>
parents:
15920
diff
changeset
|
49 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
|
50 build-aux/mk-opts.pl \ |
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
51 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
|
52 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
|
53 build-aux/stl_algo.h-fixed \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 run-octave.in |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
55 |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
56 DIRSTAMP_FILES = |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
57 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
58 octave_dirstamp = $(am__leading_dot)octave-dirstamp |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
59 |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
60 $(DIRSTAMP_FILES): |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
61 $(AM_V_GEN)$(MKDIR_P) $(@D) && \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
62 : > $@ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
63 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
64 CLEANFILES = |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
65 DISTCLEANFILES = |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
66 MAINTAINERCLEANFILES = |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
67 info_TEXINFOS = |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
68 BUILT_SOURCES = |
20308
bacaec9b5535
eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents:
20307
diff
changeset
|
69 TEST_FILES = |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
70 |
20345
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
71 DOC_IMAGES_SRC = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
72 BUILT_DOC_IMAGES = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
73 BUILT_DOC_IMAGES_EPS = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
74 BUILT_DOC_IMAGES_PDF = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
75 BUILT_DOC_IMAGES_PNG = |
10f67e9d1e70
keep list of built images separate from other images
John W. Eaton <jwe@octave.org>
parents:
20344
diff
changeset
|
76 BUILT_DOC_IMAGES_TXT = |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
77 DOC_IMAGES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
78 DOC_IMAGES_EPS = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
79 DOC_IMAGES_PDF = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
80 DOC_IMAGES_PNG = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
81 DOC_IMAGES_TXT = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
82 |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
83 FCN_FILE_DIRS = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
84 FCN_FILES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
85 GEN_FCN_FILES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
86 PKG_ADD_FILES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
87 SCRIPTS_IMAGES = |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
88 JAR_FILES = |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
89 |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
90 bin_PROGRAMS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
91 archlib_PROGRAMS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
92 noinst_HEADERS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
93 OCTAVE_VERSION_LINKS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
94 OCTAVE_CROSS_TOOLS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
95 OCTAVE_INTERPRETER_TARGETS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
96 |
20326
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
97 octlib_LTLIBRARIES = |
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
98 noinst_LTLIBRARIES = |
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
99 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
100 octinclude_HEADERS = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
101 nodist_octinclude_HEADERS = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
102 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
103 DIST_SRC = |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
104 |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
105 ALL_LOCAL_TARGETS = |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
106 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
107 include liboctave/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
108 include liboctave/link-deps.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
109 include libinterp/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
110 include libinterp/link-deps.mk |
20326
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
111 include libgui/module.mk |
8ef616eec739
eliminate recursive make invocation in libgui directory tree
John W. Eaton <jwe@octave.org>
parents:
20325
diff
changeset
|
112 include libgui/link-deps.mk |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
113 include src/module.mk |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
114 include scripts/module.mk |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
115 include doc/module.mk |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
116 include doc/interpreter/images.mk |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
117 include etc/module.mk |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
118 include examples/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
119 include m4/module.mk |
20308
bacaec9b5535
eliminate recursive make invocation in test directory tree
John W. Eaton <jwe@octave.org>
parents:
20307
diff
changeset
|
120 include test/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
121 |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
122 # Subdirectories in which to run make recursively. Other |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
123 # directories are handled directly from this Makefile (see also the |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
124 # included makefile fragments). |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
125 |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
126 SUBDIRS = libgnu |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
127 |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
128 dist-hook: doc-interpreter-dist-hook docs-dist-hook icons-dist-hook scripts-dist-hook |
10092
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
129 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
130 if AMCOND_BUILD_DOCS |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
131 docs-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
132 else |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
133 docs-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
134 @echo "Documentation disabled. Cannot package distribution!" ; exit 1; |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
135 endif |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
136 |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
137 if AMCOND_HAVE_ICON_TOOLS |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
138 icons-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
139 else |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
140 icons-dist-hook: |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
141 @echo "Packaging distribution requires icotool and rsvg-convert." ; exit 1; |
10092
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
142 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
143 |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
144 BUILT_SOURCES += \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
145 run-octave \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
146 $(DIRSTAMP_FILES) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
147 |
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
|
148 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
|
149 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
|
150 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
|
151 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
|
152 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
|
153 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
154 noinst_SCRIPTS = run-octave |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
155 |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
156 OCTAVE_INTERPRETER_TARGETS += run-octave |
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
157 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
158 CLEANFILES += \ |
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
159 $(BUILT_SOURCES) |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9864
diff
changeset
|
160 |
20306
47d704435aa4
eliminate recursive make invocation in etc/icons directory
John W. Eaton <jwe@octave.org>
parents:
20293
diff
changeset
|
161 DISTCLEANFILES += \ |
14653
af953acc055d
build: Enable Autotools 'distcheck' target to complete successfully.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
162 .gdbinit \ |
20307
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
163 ChangeLog \ |
c3c1fb44f9b5
eliminate recursive make invocations in doc directory tree
John W. Eaton <jwe@octave.org>
parents:
20306
diff
changeset
|
164 $(DIRSTAMP_FILES) |
12740
0fe2eb81e6d0
maint: don't remove distributed files with make distclean target
John W. Eaton <jwe@octave.org>
parents:
12737
diff
changeset
|
165 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
166 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
|
167 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
168 octinclude_HEADERS += oct-conf-post.h |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20326
diff
changeset
|
169 nodist_octinclude_HEADERS += config.h |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
170 |
20325
2d84d27dc9f0
eliminate recursive make invocation in src directory
John W. Eaton <jwe@octave.org>
parents:
20308
diff
changeset
|
171 all-local: $(ALL_LOCAL_TARGETS) $(noinst_SCRIPTS) $(DIST_INFO_FILES) .gdbinit $(DOC_TARGETS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
173 @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
|
174 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
175 @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
|
176 @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
|
177 @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
|
178 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
179 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
180 run-octave: run-octave.in Makefile |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
181 $(AM_V_GEN)$(do_subst_script_vals) && \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
182 chmod a+rx "$@" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
183 |
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
|
184 bits/stl_algo.h: build-aux/stl_algo.h-fixed |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
185 $(AM_V_GEN)$(MKDIR_P) bits && \ |
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
|
186 $(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
|
187 |
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
|
188 ## 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
|
189 ## 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
|
190 |
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
|
191 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
|
192 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
|
193 .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
|
194 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12725
diff
changeset
|
195 .gdbinit: etc/gdbinit |
16603
e5c0acc31640
install .gdbinit in test directory
John W. Eaton <jwe@octave.org>
parents:
16331
diff
changeset
|
196 @$(gdbinit_install_rule) |
10360
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
197 |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
198 define changelog-from-hg-log |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
199 rm -f $@-t $@ && \ |
19808
df3f1d2328d7
Fix 'make dist' target failing (bug #44333)
Mike Miller <mtmiller@ieee.org>
parents:
19805
diff
changeset
|
200 ( cd $(srcdir); \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
201 hg log --style=build-aux/changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
202 echo ""; \ |
19805
0093b9987ee0
Fix 'make dist' target failing (bug #44333).
Rik <rik@octave.org>
parents:
19792
diff
changeset
|
203 echo "See the files in the directory etc/OLD-ChangeLogs for changes before 2011-04-19"; \ |
19808
df3f1d2328d7
Fix 'make dist' target failing (bug #44333)
Mike Miller <mtmiller@ieee.org>
parents:
19805
diff
changeset
|
204 ) > $@-t && \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
205 mv $@-t $@ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
206 endef |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
207 |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
208 ChangeLog: |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
209 $(AM_V_GEN)$(changelog-from-hg-log) |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
210 .PHONY: ChangeLog |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
211 |
20293
d6879b59f46f
eliminate recursive make invocation in examples directory tree
John W. Eaton <jwe@octave.org>
parents:
19841
diff
changeset
|
212 octetc_DATA += \ |
18478
3c1a28978599
install config.log in $octetc directory
John W. Eaton <jwe@octave.org>
parents:
18090
diff
changeset
|
213 CITATION \ |
19841
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
214 NEWS |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
215 |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
216 if AMCOND_INSTALL_BUILD_LOGS |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
217 octetc_DATA += config.log |
07b970d6cdfe
Only install config.log in $octetc if user requested (bug #43087)
Mike Miller <mtmiller@ieee.org>
parents:
19815
diff
changeset
|
218 endif |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
219 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
220 DIRS_TO_MAKE = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
221 $(localfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
222 $(localapifcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
223 $(localverfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
224 $(localoctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
225 $(localapioctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
226 $(localveroctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
227 $(localarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
228 $(localapiarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
229 $(localverarchlibdir) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
230 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
231 installdirs-local: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
232 $(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
|
233 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
234 install-data-local: installdirs-local |
20328
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
235 |
fa9fa6ab76f0
eliminate recursive make invocation in scripts directory tree
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
236 distclean-local: scripts-distclean |