Mercurial > hg > octave-lyh
annotate scripts/Makefile.am @ 14138:72c96de7a403 stable
maint: update copyright notices for 2012
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 02 Jan 2012 14:25:41 -0500 |
parents | cb9b60b1c9bb |
children | e053d1622f4e 41a05ee9021a |
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's scripts directory |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
13285
diff
changeset
|
3 # Copyright (C) 1993-2012 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. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
12733
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. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
12733
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. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
12733
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:
12177
diff
changeset
|
21 include $(top_srcdir)/build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 AUTOMAKE_OPTIONS = subdir-objects |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
25 EXTRA_DIST = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
27 FCN_FILE_DIRS = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 FCN_FILES = |
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 GEN_FCN_FILES = |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 PKG_ADD_FILES = |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 |
9906 | 35 DIRSTAMP_FILES = |
36 | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 IMAGES = |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
39 ## Read subdirs to set all variables above |
9880 | 40 include @ftp/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
41 include audio/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
42 include deprecated/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
43 include elfun/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 include general/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
45 include geometry/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 include help/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
47 include image/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 include io/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
49 include linear-algebra/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 include miscellaneous/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
51 include optimization/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 include path/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
53 include pkg/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 include plot/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
55 include polynomial/module.mk |
13261
9134ca9d4ec8
new functions for Matlab compatibility
John W. Eaton <jwe@octave.org>
parents:
13141
diff
changeset
|
56 include prefs/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
57 include set/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 include signal/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
59 include sparse/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
60 include specfun/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
61 include special-matrix/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
62 include startup/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
63 include statistics/base/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 include statistics/distributions/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 include statistics/models/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 include statistics/tests/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
67 include strings/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 include testfun/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 include time/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
71 nobase_fcnfile_DATA = $(FCN_FILES) $(GEN_FCN_FILES) |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
72 |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
73 image_DATA = $(IMAGES) |
9906 | 74 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
75 FCN_FILES_IN = $(GEN_FCN_FILES:.m=.in) |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
76 |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
77 all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES) .DOCSTRINGS |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
79 octave_dirstamp = $(am__leading_dot)dirstamp |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 |
9880 | 81 @ftp/PKG_ADD: $(@ftp_FCN_FILES) $(@ftp_GEN_FCN_FILES) @ftp/$(octave_dirstamp) mk-pkg-add |
9906 | 82 $(srcdir)/mk-pkg-add $(srcdir) $(@ftp_FCN_FILES) -- $(@ftp_GEN_FCN_FILES) > $@-t |
83 mv $@-t $@ | |
9880 | 84 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
85 audio/PKG_ADD: $(audio_FCN_FILES) $(audio_GEN_FCN_FILES) audio/$(octave_dirstamp) mk-pkg-add |
9906 | 86 $(srcdir)/mk-pkg-add $(srcdir) $(audio_FCN_FILES) -- $(audio_GEN_FCN_FILES) > $@-t |
87 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
88 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
89 deprecated/PKG_ADD: $(deprecated_FCN_FILES) $(deprecated_GEN_FCN_FILES) deprecated/$(octave_dirstamp) mk-pkg-add |
9906 | 90 $(srcdir)/mk-pkg-add $(srcdir) $(deprecated_FCN_FILES) -- $(deprecated_GEN_FCN_FILES) > $@-t |
91 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
92 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
93 elfun/PKG_ADD: $(elfun_FCN_FILES) $(elfun_GEN_FCN_FILES) elfun/$(octave_dirstamp) mk-pkg-add |
9906 | 94 $(srcdir)/mk-pkg-add $(srcdir) $(elfun_FCN_FILES) -- $(elfun_GEN_FCN_FILES) > $@-t |
95 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
96 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
97 general/PKG_ADD: $(general_FCN_FILES) $(general_GEN_FCN_FILES) general/$(octave_dirstamp) mk-pkg-add |
9906 | 98 $(srcdir)/mk-pkg-add $(srcdir) $(general_FCN_FILES) -- $(general_GEN_FCN_FILES) > $@-t |
99 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
100 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
101 geometry/PKG_ADD: $(geometry_FCN_FILES) $(geometry_GEN_FCN_FILES) geometry/$(octave_dirstamp) mk-pkg-add |
9906 | 102 $(srcdir)/mk-pkg-add $(srcdir) $(geometry_FCN_FILES) -- $(geometry_GEN_FCN_FILES) > $@-t |
103 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
104 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
105 help/PKG_ADD: $(help_FCN_FILES) $(help_GEN_FCN_FILES) help/$(octave_dirstamp) mk-pkg-add |
9906 | 106 $(srcdir)/mk-pkg-add $(srcdir) $(help_FCN_FILES) -- $(help_GEN_FCN_FILES) > $@-t |
107 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
108 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
109 image/PKG_ADD: $(image_FCN_FILES) $(image_GEN_FCN_FILES) image/$(octave_dirstamp) mk-pkg-add |
9906 | 110 $(srcdir)/mk-pkg-add $(srcdir) $(image_FCN_FILES) -- $(image_GEN_FCN_FILES) > $@-t |
111 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
112 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
113 io/PKG_ADD: $(io_FCN_FILES) $(io_GEN_FCN_FILES) io/$(octave_dirstamp) mk-pkg-add |
9906 | 114 $(srcdir)/mk-pkg-add $(srcdir) $(io_FCN_FILES) -- $(io_GEN_FCN_FILES) > $@-t |
115 mv $@-t $@ | |
9794
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 linear-algebra/PKG_ADD: $(linear_algebra_FCN_FILES) $(linear_algebra_GEN_FCN_FILES) linear-algebra/$(octave_dirstamp) mk-pkg-add |
9906 | 118 $(srcdir)/mk-pkg-add $(srcdir) $(linear_algebra_FCN_FILES) -- $(linear_algebra_GEN_FCN_FILES) > $@-t |
119 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
120 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
121 miscellaneous/PKG_ADD: $(miscellaneous_FCN_FILES) $(miscellaneous_GEN_FCN_FILES) miscellaneous/$(octave_dirstamp) mk-pkg-add |
9906 | 122 $(srcdir)/mk-pkg-add $(srcdir) $(miscellaneous_FCN_FILES) -- $(miscellaneous_GEN_FCN_FILES) > $@-t |
123 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
124 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
125 optimization/PKG_ADD: $(optimization_FCN_FILES) $(optimization_GEN_FCN_FILES) optimization/$(octave_dirstamp) mk-pkg-add |
9906 | 126 $(srcdir)/mk-pkg-add "$(srcdir)" $(optimization_FCN_FILES) -- $(optimization_GEN_FCN_FILES) > $@-t |
127 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
128 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
129 path/PKG_ADD: $(path_FCN_FILES) $(path_GEN_FCN_FILES) path/$(octave_dirstamp) mk-pkg-add |
9906 | 130 $(srcdir)/mk-pkg-add $(srcdir) $(path_FCN_FILES) -- $(path_GEN_FCN_FILES) > $@-t |
131 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
132 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
133 pkg/PKG_ADD: $(pkg_FCN_FILES) $(pkg_GEN_FCN_FILES) pkg/$(octave_dirstamp) mk-pkg-add |
9906 | 134 $(srcdir)/mk-pkg-add $(srcdir) $(pkg_FCN_FILES) -- $(pkg_GEN_FCN_FILES) > $@-t |
135 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
136 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
137 plot/PKG_ADD: $(plot_FCN_FILES) $(plot_GEN_FCN_FILES) plot/$(octave_dirstamp) mk-pkg-add |
9906 | 138 $(srcdir)/mk-pkg-add $(srcdir) $(plot_FCN_FILES) -- $(plot_GEN_FCN_FILES) > $@-t |
139 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
140 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
141 polynomial/PKG_ADD: $(polynomial_FCN_FILES) $(polynomial_GEN_FCN_FILES) polynomial/$(octave_dirstamp) mk-pkg-add |
9906 | 142 $(srcdir)/mk-pkg-add $(srcdir) $(polynomial_FCN_FILES) -- $(polynomial_GEN_FCN_FILES) > $@-t |
143 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
144 |
13285
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
145 prefs/PKG_ADD: $(prefs_FCN_FILES) $(prefs_GEN_FCN_FILES) prefs/$(octave_dirstamp) mk-pkg-add |
13261
9134ca9d4ec8
new functions for Matlab compatibility
John W. Eaton <jwe@octave.org>
parents:
13141
diff
changeset
|
146 $(srcdir)/mk-pkg-add $(srcdir) $(prefs_FCN_FILES) -- $(prefs_GEN_FCN_FILES) > $@-t |
9134ca9d4ec8
new functions for Matlab compatibility
John W. Eaton <jwe@octave.org>
parents:
13141
diff
changeset
|
147 mv $@-t $@ |
9134ca9d4ec8
new functions for Matlab compatibility
John W. Eaton <jwe@octave.org>
parents:
13141
diff
changeset
|
148 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
149 set/PKG_ADD: $(set_FCN_FILES) $(set_GEN_FCN_FILES) set/$(octave_dirstamp) mk-pkg-add |
9906 | 150 $(srcdir)/mk-pkg-add $(srcdir) $(set_FCN_FILES) -- $(set_GEN_FCN_FILES) > $@-t |
151 mv $@-t $@ | |
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 signal/PKG_ADD: $(signal_FCN_FILES) $(signal_GEN_FCN_FILES) signal/$(octave_dirstamp) mk-pkg-add |
9906 | 154 $(srcdir)/mk-pkg-add $(srcdir) $(signal_FCN_FILES) -- $(signal_GEN_FCN_FILES) > $@-t |
155 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
156 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
157 sparse/PKG_ADD: $(sparse_FCN_FILES) $(sparse_GEN_FCN_FILES) sparse/$(octave_dirstamp) mk-pkg-add |
9906 | 158 $(srcdir)/mk-pkg-add $(srcdir) $(sparse_FCN_FILES) -- $(sparse_GEN_FCN_FILES) > $@-t |
159 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
160 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
161 specfun/PKG_ADD: $(specfun_FCN_FILES) $(specfun_GEN_FCN_FILES) specfun/$(octave_dirstamp) mk-pkg-add |
9906 | 162 $(srcdir)/mk-pkg-add $(srcdir) $(specfun_FCN_FILES) -- $(specfun_GEN_FCN_FILES) > $@-t |
163 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
164 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
165 special-matrix/PKG_ADD: $(special_matrix_FCN_FILES) $(special_matrix_GEN_FCN_FILES) special-matrix/$(octave_dirstamp) mk-pkg-add |
9906 | 166 $(srcdir)/mk-pkg-add $(srcdir) $(special_matrix_FCN_FILES) -- $(special_matrix_GEN_FCN_FILES) > $@-t |
167 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
168 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
169 startup/PKG_ADD: $(startup_FCN_FILES) $(startup_GEN_FCN_FILES) startup/$(octave_dirstamp) mk-pkg-add |
9906 | 170 $(srcdir)/mk-pkg-add $(srcdir) $(startup_FCN_FILES) -- $(startup_GEN_FCN_FILES) > $@-t |
171 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
173 statistics/base/PKG_ADD: $(statistics_base_FCN_FILES) $(statistics_base_GEN_FCN_FILES) statistics/base/$(octave_dirstamp) mk-pkg-add |
9906 | 174 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_base_FCN_FILES) -- $(statistics_base_GEN_FCN_FILES) > $@-t |
175 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
176 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
177 statistics/distributions/PKG_ADD: $(statistics_distributions_FCN_FILES) $(statistics_distributions_GEN_FCN_FILES) statistics/distributions/$(octave_dirstamp) mk-pkg-add |
9906 | 178 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_distributions_FCN_FILES) -- $(statistics_distributions_GEN_FCN_FILES) > $@-t |
179 mv $@-t $@ | |
9794
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 statistics/models/PKG_ADD: $(statistics_models_FCN_FILES) $(statistics_models_GEN_FCN_FILES) statistics/models/$(octave_dirstamp) mk-pkg-add |
9906 | 182 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_models_FCN_FILES) -- $(statistics_models_GEN_FCN_FILES) > $@-t |
183 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
184 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
185 statistics/tests/PKG_ADD: $(statistics_tests_FCN_FILES) $(statistics_tests_GEN_FCN_FILES) statistics/tests/$(octave_dirstamp) mk-pkg-add |
9906 | 186 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_tests_FCN_FILES) -- $(statistics_tests_GEN_FCN_FILES) > $@-t |
187 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
188 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
189 strings/PKG_ADD: $(strings_FCN_FILES) $(strings_GEN_FCN_FILES) strings/$(octave_dirstamp) mk-pkg-add |
9906 | 190 $(srcdir)/mk-pkg-add $(srcdir) $(strings_FCN_FILES) -- $(strings_GEN_FCN_FILES) > $@-t |
191 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
192 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
193 testfun/PKG_ADD: $(testfun_FCN_FILES) $(testfun_GEN_FCN_FILES) testfun/$(octave_dirstamp) mk-pkg-add |
9906 | 194 $(srcdir)/mk-pkg-add $(srcdir) $(testfun_FCN_FILES) -- $(testfun_GEN_FCN_FILES) > $@-t |
195 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
196 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
197 time/PKG_ADD: $(time_FCN_FILES) $(time_GEN_FCN_FILES) time/$(octave_dirstamp) mk-pkg-add |
9906 | 198 $(srcdir)/mk-pkg-add $(srcdir) $(time_FCN_FILES) -- $(time_GEN_FCN_FILES) > $@-t |
199 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
200 |
9880 | 201 $(@ftp_GEN_FCN_FILES): @ftp/$(octave_dirstamp) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
202 $(audio_GEN_FCN_FILES): audio/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
203 $(deprecated_GEN_FCN_FILES): deprecated/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
204 $(elfun_GEN_FCN_FILES): elfun/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
205 $(general_GEN_FCN_FILES): general/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
206 $(geometry_GEN_FCN_FILES): geometry/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
207 $(help_GEN_FCN_FILES): help/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
208 $(image_GEN_FCN_FILES): image/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
209 $(io_GEN_FCN_FILES): io/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
210 $(linear_algebra_GEN_FCN_FILES): linear-algebra/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
211 $(miscellaneous_GEN_FCN_FILES): miscellaneous/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
212 $(optimization_GEN_FCN_FILES): optimization/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
213 $(path_GEN_FCN_FILES): path/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
214 $(pkg_GEN_FCN_FILES): pkg/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
215 $(plot_GEN_FCN_FILES): plot/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
216 $(polynomial_GEN_FCN_FILES): polynomial/$(octave_dirstamp) |
13285
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
217 $(prefs_GEN_FCN_FILES): prefs/$(octave_dirstamp) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
218 $(set_GEN_FCN_FILES): set/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
219 $(signal_GEN_FCN_FILES): signal/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
220 $(sparse_GEN_FCN_FILES): sparse/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
221 $(specfun_GEN_FCN_FILES): specfun/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
222 $(special_matrix_GEN_FCN_FILES): special-matrix/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
223 $(startup_GEN_FCN_FILES): startup/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
224 $(statistics_base_GEN_FCN_FILES): statistics/base/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
225 $(statistics_distributions_GEN_FCN_FILES): statistics/distributions/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
226 $(statistics_models_GEN_FCN_FILES): statistics/models/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
227 $(statistics_tests_GEN_FCN_FILES): statistics/tests/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
228 $(strings_GEN_FCN_FILES): strings/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
229 $(testfun_GEN_FCN_FILES): testfun/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
230 $(time_GEN_FCN_FILES): time/$(octave_dirstamp) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
231 |
9880 | 232 @ftp/$(octave_dirstamp): |
9906 | 233 $(MKDIR_P) @ftp |
234 : > @ftp/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
235 audio/$(octave_dirstamp): |
9906 | 236 $(MKDIR_P) audio |
237 : > audio/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
238 deprecated/$(octave_dirstamp): |
9906 | 239 $(MKDIR_P) deprecated |
240 : > deprecated/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
241 elfun/$(octave_dirstamp): |
9906 | 242 $(MKDIR_P) elfun |
243 : > elfun/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
244 general/$(octave_dirstamp): |
9906 | 245 $(MKDIR_P) general |
246 : > general/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
247 geometry/$(octave_dirstamp): |
9906 | 248 $(MKDIR_P) geometry |
249 : > geometry/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
250 help/$(octave_dirstamp): |
9906 | 251 $(MKDIR_P) help |
252 : > help/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
253 image/$(octave_dirstamp): |
9906 | 254 $(MKDIR_P) image |
255 : > image/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
256 io/$(octave_dirstamp): |
9906 | 257 $(MKDIR_P) io |
258 : > io/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
259 linear-algebra/$(octave_dirstamp): |
9906 | 260 $(MKDIR_P) linear-algebra |
261 : > linear-algebra/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
262 miscellaneous/$(octave_dirstamp): |
9906 | 263 $(MKDIR_P) miscellaneous |
264 : > miscellaneous/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
265 optimization/$(octave_dirstamp): |
9906 | 266 $(MKDIR_P) optimization |
267 : > optimization/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
268 path/$(octave_dirstamp): |
9906 | 269 $(MKDIR_P) path |
270 : > path/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
271 pkg/$(octave_dirstamp): |
9906 | 272 $(MKDIR_P) pkg |
273 : > pkg/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
274 plot/$(octave_dirstamp): |
9906 | 275 $(MKDIR_P) plot |
276 : > plot/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
277 polynomial/$(octave_dirstamp): |
9906 | 278 $(MKDIR_P) polynomial |
279 : > polynomial/$(octave_dirstamp) | |
13285
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
280 prefs/$(octave_dirstamp): |
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
281 $(MKDIR_P) prefs |
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
282 : > prefs/$(octave_dirstamp) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
283 set/$(octave_dirstamp): |
9906 | 284 $(MKDIR_P) set |
285 : > set/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
286 signal/$(octave_dirstamp): |
9906 | 287 $(MKDIR_P) signal |
288 : > signal/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
289 sparse/$(octave_dirstamp): |
9906 | 290 $(MKDIR_P) sparse |
291 : > sparse/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
292 specfun/$(octave_dirstamp): |
9906 | 293 $(MKDIR_P) specfun |
294 : > specfun/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
295 special-matrix/$(octave_dirstamp): |
9906 | 296 $(MKDIR_P) special-matrix |
297 : > special-matrix/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
298 startup/$(octave_dirstamp): |
9906 | 299 $(MKDIR_P) startup |
300 : > startup/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
301 statistics/base/$(octave_dirstamp): |
9906 | 302 $(MKDIR_P) statistics/base |
303 : > statistics/base/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
304 statistics/distributions/$(octave_dirstamp): |
9906 | 305 $(MKDIR_P) statistics/distributions |
306 : > statistics/distributions/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
307 statistics/models/$(octave_dirstamp): |
9906 | 308 $(MKDIR_P) statistics/models |
309 : > statistics/models/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
310 statistics/tests/$(octave_dirstamp): |
9906 | 311 $(MKDIR_P) statistics/tests |
312 : > statistics/tests/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
313 strings/$(octave_dirstamp): |
9906 | 314 $(MKDIR_P) strings |
315 : > strings/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
316 testfun/$(octave_dirstamp): |
9906 | 317 $(MKDIR_P) testfun |
318 : > testfun/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
319 time/$(octave_dirstamp): |
9906 | 320 $(MKDIR_P) time |
321 : > time/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
322 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
323 ## Program compiled only to help build documentation. No installation needed. |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
324 noinst_PROGRAMS = gethelp |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
325 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
326 gethelp_SOURCES = gethelp.cc |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
327 |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
328 .DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc $(gethelp_SOURCES) Makefile |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
329 @$(MAKE) $(AM_MAKEFLAGS) gethelp$(BUILD_EXEEXT) |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
330 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \ |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
331 cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
332 touch -r $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
333 fi |
10868
29ccddba2e5e
Create .DOCSTRINGS quietly and avoid screen clutter during build.
Rik <octave@nomad.inbox5.com>
parents:
10867
diff
changeset
|
334 @echo "creating .DOCSTRINGS from .m script files" |
29ccddba2e5e
Create .DOCSTRINGS quietly and avoid screen clutter during build.
Rik <octave@nomad.inbox5.com>
parents:
10867
diff
changeset
|
335 @$(srcdir)/mkdoc "$(srcdir)" $(FCN_FILES) -- $(GEN_FCN_FILES) > $@ |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12177
diff
changeset
|
336 $(top_srcdir)/build-aux/move-if-change $@ DOCSTRINGS |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
337 touch $@ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
338 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
339 $(GEN_FCN_FILES) : %.m : %.in Makefile |
10867
5502105b4f17
Run do_subst macro quietly to avoid screen clutter during build.
Rik <octave@nomad.inbox5.com>
parents:
10837
diff
changeset
|
340 @$(do_subst_config_vals) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
341 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
342 check-m-sources: |
11191
01ddaedd6ad5
Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
Rik <octave@nomad.inbox5.com>
parents:
10868
diff
changeset
|
343 @echo "checking whether files in source tree are listed in module.mk files..."; \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
344 for f in $$(find $(srcdir) -name '*.m'); do \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
345 found=false; \ |
11191
01ddaedd6ad5
Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
Rik <octave@nomad.inbox5.com>
parents:
10868
diff
changeset
|
346 for m in $(FCN_FILES) $(GEN_FCN_FILES); do \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
347 if [ "$$f" = $(srcdir)/"$$m" ]; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
348 found=true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
349 break; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
350 fi; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
351 done; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
352 if $$found; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
353 true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
354 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
355 missing=$$(echo $$f | $(SED) "s|^$(srcdir)||"); \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
356 echo "$$missing: not listed in SOURCES"; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
357 fi; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
358 done; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
359 if test -z "$$missing"; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
360 echo "yes"; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
361 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
362 .PHONY: check-m-sources |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
363 |
12177
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
364 check-missing-semicolon: |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
365 @echo "checking for missing semicolons in .m files..." |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
366 ( echo "warning on Octave:missing-semicolon;"; \ |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
367 for m in $(addprefix $(srcdir)/, $(FCN_FILES)) $(GEN_FCN_FILES); do \ |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
368 echo "source ('$$m');"; \ |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
369 done ) | ../run-octave -qf |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
370 .PHONY: check-missing-semicolon |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
371 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9965
diff
changeset
|
372 install-data-local: install-startup-files install-pkg-add |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
373 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9965
diff
changeset
|
374 uninstall-local: uninstall-startup-files uninstall-pkg-add |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
375 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
376 install-startup-files: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
377 $(MKDIR_P) $(DESTDIR)$(fcnfiledir)/startup |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
378 if test -f $(DESTDIR)$(fcnfiledir)/startup/octaverc; then true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
379 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
380 $(INSTALL_DATA) $(srcdir)/$(SYSTEM_STARTUP_FILE_SRC) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
381 $(DESTDIR)$(fcnfiledir)/startup/octaverc; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
382 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
383 if test -f $(DESTDIR)$(fcnfiledir)/startup/inputrc; then true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
384 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
385 $(INSTALL_DATA) $(srcdir)/$(SYSTEM_INPUTRC_FILE_SRC) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
386 $(DESTDIR)$(fcnfiledir)/startup/inputrc; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
387 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
388 $(MKDIR_P) $(DESTDIR)$(localfcnfiledir)/startup |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
389 if test -f $(DESTDIR)$(localfcnfiledir)/startup/octaverc; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
390 then true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
391 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
392 $(INSTALL_DATA) $(srcdir)/$(LOCAL_STARTUP_FILE_SRC) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
393 $(DESTDIR)$(localfcnfiledir)/startup/octaverc; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
394 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
395 .PHONY: install-startup-files |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
396 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
397 uninstall-startup-files: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
398 rm -f $(DESTDIR)$(fcnfiledir)/startup/octaverc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
399 rm -f $(DESTDIR)$(fcnfiledir)/startup/inputrc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
400 rm -f $(DESTDIR)$(localfcnfiledir)/startup/octaverc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
401 .PHONY: uninstall-startup-files |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
402 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
403 install-pkg-add: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
404 for f in $(PKG_ADD_FILES); do \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
405 if [ -n "`cat $$f`" ]; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
406 $(MKDIR_P) $(DESTDIR)$(fcnfiledir)/`echo $$f | $(SED) 's,/[^/]*$$,,'`; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
407 $(INSTALL_DATA) $$f $(DESTDIR)$(fcnfiledir)/$$f; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
408 fi \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
409 done |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
410 .PHONY: install-pkg-add |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
411 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
412 uninstall-pkg-add: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
413 for f in $(PKG_ADD_FILES); do \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
414 rm -f $(DESTDIR)$(fcnfiledir)/$$f; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
415 done |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
416 .PHONY: uninstall-pkg-add |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
417 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
418 EXTRA_DIST += \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
419 $(IMAGES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
420 $(FCN_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
421 $(FCN_FILES_IN) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
422 $(GEN_FCN_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
423 DOCSTRINGS \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
424 mkdoc \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
425 mk-pkg-add |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
426 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
427 DISTCLEANFILES = \ |
10837
6ea0cf31667d
Add Makefile options to clean up build directories and allow 'make distcheck' to finish
Rik <octave@nomad.inbox5.com>
parents:
10085
diff
changeset
|
428 .DOCSTRINGS \ |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
429 DOCSTRINGS \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
430 $(PKG_ADD_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
431 $(DIRSTAMP_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
432 $(GEN_FCN_FILES) |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
433 |