Mercurial > hg > octave-thorsten
annotate Makefile.am @ 12725:ee3a60f254e1 stable
maint: Remove built file ChangeLog with distclean target
* Makefile.am: Remove built file ChangeLog with distclean target
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 08 Jun 2011 22:10:34 -0700 |
parents | a2eb942dee33 |
children | b67c2d580a25 |
rev | line source |
---|---|
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # Makefile for octave |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
11523 | 3 # Copyright (C) 1993-2011 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 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
21 include 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 NEWS.1 \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
40 NEWS.2 \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 NEWS.3 \ |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
42 OLD-ChangeLogs/ChangeLog \ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
43 OLD-ChangeLogs/ChangeLog.1 \ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
44 OLD-ChangeLogs/doc-ChangeLog \ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
45 OLD-ChangeLogs/libcruft-ChangeLog \ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
46 OLD-ChangeLogs/liboctave-ChangeLog \ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
47 OLD-ChangeLogs/scripts-ChangeLog \ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
48 OLD-ChangeLogs/src-ChangeLog \ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
49 OLD-ChangeLogs/test-ChangeLog \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 PROJECTS \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
51 README \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 README.Cygwin \ |
12724
a2eb942dee33
maint: Distribute README.MinGW and README.gnuplot
Rik <octave@nomad.inbox5.com>
parents:
12717
diff
changeset
|
53 README.gnuplot \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 README.Linux \ |
11410
2df163be223e
Update build instructions in README.MacOS
Ben Abbott <bpabbott@mac.com>
parents:
11399
diff
changeset
|
55 README.MacOS \ |
12724
a2eb942dee33
maint: Distribute README.MinGW and README.gnuplot
Rik <octave@nomad.inbox5.com>
parents:
12717
diff
changeset
|
56 README.MinGW \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
57 README.Windows \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 README.kpathsea \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
59 autogen.sh \ |
11137
fe016af51396
include boostrap and bootstrap.conf in distributed tar files
John W. Eaton <jwe@octave.org>
parents:
11015
diff
changeset
|
60 bootstrap \ |
fe016af51396
include boostrap and bootstrap.conf in distributed tar files
John W. Eaton <jwe@octave.org>
parents:
11015
diff
changeset
|
61 bootstrap.conf \ |
10360
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
62 gdbinit \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
63 missing \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 mk-opts.pl \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 mkinstalldirs \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 mkoctfile.cc.in \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
67 mkoctfile.in \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 move-if-change \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 octave-config.cc.in \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 octave-config.in \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
71 octave-sh \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
72 run-octave.in |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
73 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
74 include m4/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
75 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 # Subdirectories in which to run `make all'. |
10092
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
77 SUBDIRS = libgnu libcruft liboctave src scripts @DOCDIR@ examples test |
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
78 |
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
79 if AMCOND_BUILD_DOCS |
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
80 else |
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
81 dist-hook: |
02453ee20140
allow building of docs to be disabled
John W. Eaton <jwe@octave.org>
parents:
10006
diff
changeset
|
82 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
|
83 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
84 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
85 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
86 bin_PROGRAMS = \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
87 mkoctfile \ |
11015
b4ed4fe70c2c
eliminate octave-bug script/program
John W. Eaton <jwe@octave.org>
parents:
10993
diff
changeset
|
88 octave-config |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
89 |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
90 mkoctfile_SOURCES = |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
91 nodist_mkoctfile_SOURCES = mkoctfile.cc |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
92 |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
93 octave_config_SOURCES = |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
94 nodist_octave_config_SOURCES = octave-config.cc |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
95 |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
96 BUILT_SOURCES = \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
97 mkoctfile.cc \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
98 octave-config.cc \ |
10993
061bd86a0bf3
Makefile.am (BUILT_SOURCES): include run-octave in the list
John W. Eaton <jwe@octave.org>
parents:
10986
diff
changeset
|
99 run-octave |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
100 |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
101 else |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
102 bin_SCRIPTS = \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
103 mkoctfile \ |
11280
3f281bd1808c
don't install run-octave script
John W. Eaton <jwe@octave.org>
parents:
11137
diff
changeset
|
104 octave-config |
10993
061bd86a0bf3
Makefile.am (BUILT_SOURCES): include run-octave in the list
John W. Eaton <jwe@octave.org>
parents:
10986
diff
changeset
|
105 |
061bd86a0bf3
Makefile.am (BUILT_SOURCES): include run-octave in the list
John W. Eaton <jwe@octave.org>
parents:
10986
diff
changeset
|
106 BUILT_SOURCES = \ |
061bd86a0bf3
Makefile.am (BUILT_SOURCES): include run-octave in the list
John W. Eaton <jwe@octave.org>
parents:
10986
diff
changeset
|
107 run-octave |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
108 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
109 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
110 noinst_SCRIPTS = run-octave |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
111 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
112 INFO_FILES = \ |
12154
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
113 AUTHORS \ |
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
114 BUGS \ |
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
115 INSTALL.OCTAVE |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
116 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
117 CLEANFILES = $(bin_PROGRAMS) $(bin_SCRIPTS) $(BUILT_SOURCES) |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9864
diff
changeset
|
118 |
12725
ee3a60f254e1
maint: Remove built file ChangeLog with distclean target
Rik <octave@nomad.inbox5.com>
parents:
12724
diff
changeset
|
119 DISTCLEANFILES = $(INFO_FILES) ChangeLog .gdbinit |
9943
4c681ff57bc3
Modifications to makefiles to pass distcheck test
Rik <rdrider0-list@yahoo.com>
parents:
9864
diff
changeset
|
120 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
121 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
|
122 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
123 nodist_octinclude_HEADERS = config.h |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
124 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
125 all-local: $(bin_PROGRAMS) $(bin_SCRIPTS) $(noinst_SCRIPTS) $(INFO_FILES) .gdbinit |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
126 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
127 @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
|
128 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
129 @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
|
130 @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
|
131 @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
|
132 @echo "" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
133 |
12471 | 134 check: all |
135 $(MAKE) -C test check | |
136 | |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
137 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
138 octave-config.cc: octave-config.cc.in Makefile |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
139 @$(do_subst_default_vals) |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
140 |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
141 mkoctfile.cc: mkoctfile.cc.in Makefile |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
142 @$(do_subst_config_vals) |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
143 else |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
144 octave-config: octave-config.in Makefile |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 @$(do_subst_default_vals) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
146 chmod a+rx $@ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
147 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 mkoctfile: mkoctfile.in Makefile |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
149 @$(do_subst_config_vals) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
150 chmod a+rx $@ |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
151 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
152 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
153 run-octave: run-octave.in Makefile |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
154 @$(do_subst_script_vals) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
155 chmod a+rx "$@" |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
156 |
10360
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
157 .gdbinit: gdbinit |
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
158 if [ -f .gdbinit ]; then \ |
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
159 echo "refusing to overwrite .gdbinit with newer version from $<" 1>&2; \ |
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
160 else \ |
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
161 cp $< $@; \ |
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
162 fi |
9126d71f53aa
add gdbinit file to sources
John W. Eaton <jwe@octave.org>
parents:
10092
diff
changeset
|
163 |
12154
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
164 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
|
165 $(MAKE) -C doc/interpreter ../../$@ |
12154
22c99c8cfcb6
Add Makefile rules to auto-generate AUTHORS file from contributors.texi
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
166 .PHONY: AUTHORS BUGS INSTALL.OCTAVE |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
167 |
12624
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
168 ChangeLog: |
12717
a87052630372
maint: Update various Makefile.am to no longer distribute ChangeLog file
Rik <octave@nomad.inbox5.com>
parents:
12624
diff
changeset
|
169 (cd $(srcdir); hg log --style=changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; echo ""; echo "See the files in the directory 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
|
170 mv $@.t $@ |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
171 .PHONY: ChangeLog |
83606de30dae
maint: generate ChangeLog automatically
John W. Eaton <jwe@octave.org>
parents:
12471
diff
changeset
|
172 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
173 octetc_DATA = NEWS |
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
174 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
175 DIRS_TO_MAKE = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
176 $(localfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
177 $(localapifcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
178 $(localverfcnfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
179 $(localoctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
180 $(localapioctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
181 $(localveroctfiledir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
182 $(localarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
183 $(localapiarchlibdir) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
184 $(localverarchlibdir) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
185 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
186 installdirs-local: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
187 $(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
|
188 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
189 install-data-local: installdirs-local |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
190 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
191 install-exec-hook: make-version-links |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
192 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
193 uninstall-local: remove-version-links |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
194 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
195 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
196 make-version-links: |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
197 cd $(DESTDIR)$(bindir) && \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
198 for f in $(basename $(bin_PROGRAMS)); do \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
199 mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
200 $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
201 done |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
202 |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
203 remove-version-links: |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
204 for f in $(basename $(bin_PROGRAMS)); do \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
205 rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
206 done |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
207 else |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
208 make-version-links: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
209 cd $(DESTDIR)$(bindir) && \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
210 for f in $(basename $(bin_SCRIPTS)); do \ |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
211 mv $$f $$f-$(version) && \ |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
212 $(LN_S) $$f-$(version) $$f; \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
213 done |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
214 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
215 remove-version-links: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
216 for f in $(basename $(bin_SCRIPTS)); do \ |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
217 rm -f $(DESTDIR)$(bindir)/$$f-$(version); \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
218 done |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
219 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
220 |
10986
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
221 .PHONY: make-version-links remove-version-links |
20bb05b9fb3f
makefile rules for compiled auxiliary programs
John W. Eaton <jwe@octave.org>
parents:
10856
diff
changeset
|
222 |