Mercurial > hg > octave-nkf
annotate scripts/Makefile.am @ 14617:8ffb01c3a27a
doc: Use Perl to create DOCSTRINGS in scripts directory.
* mkdoc.pl: Perl script that generates DOCSTRINGS file.
* Makefile.am: Use mkdoc.pl in build procedures.
* gethelp.cc: Remove C++ helper program for building DOCSTRINGS file.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 10 May 2012 16:58:41 -0700 |
parents | e053d1622f4e |
children | 3b8275fed4dd |
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 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
77 if AMCOND_BUILD_DOCS |
10085
82d47b706424
Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
78 all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES) .DOCSTRINGS |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
79 else |
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
80 all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES) |
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
81 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 octave_dirstamp = $(am__leading_dot)dirstamp |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
84 |
9880 | 85 @ftp/PKG_ADD: $(@ftp_FCN_FILES) $(@ftp_GEN_FCN_FILES) @ftp/$(octave_dirstamp) mk-pkg-add |
9906 | 86 $(srcdir)/mk-pkg-add $(srcdir) $(@ftp_FCN_FILES) -- $(@ftp_GEN_FCN_FILES) > $@-t |
87 mv $@-t $@ | |
9880 | 88 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
89 audio/PKG_ADD: $(audio_FCN_FILES) $(audio_GEN_FCN_FILES) audio/$(octave_dirstamp) mk-pkg-add |
9906 | 90 $(srcdir)/mk-pkg-add $(srcdir) $(audio_FCN_FILES) -- $(audio_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 deprecated/PKG_ADD: $(deprecated_FCN_FILES) $(deprecated_GEN_FCN_FILES) deprecated/$(octave_dirstamp) mk-pkg-add |
9906 | 94 $(srcdir)/mk-pkg-add $(srcdir) $(deprecated_FCN_FILES) -- $(deprecated_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 elfun/PKG_ADD: $(elfun_FCN_FILES) $(elfun_GEN_FCN_FILES) elfun/$(octave_dirstamp) mk-pkg-add |
9906 | 98 $(srcdir)/mk-pkg-add $(srcdir) $(elfun_FCN_FILES) -- $(elfun_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 general/PKG_ADD: $(general_FCN_FILES) $(general_GEN_FCN_FILES) general/$(octave_dirstamp) mk-pkg-add |
9906 | 102 $(srcdir)/mk-pkg-add $(srcdir) $(general_FCN_FILES) -- $(general_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 geometry/PKG_ADD: $(geometry_FCN_FILES) $(geometry_GEN_FCN_FILES) geometry/$(octave_dirstamp) mk-pkg-add |
9906 | 106 $(srcdir)/mk-pkg-add $(srcdir) $(geometry_FCN_FILES) -- $(geometry_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 help/PKG_ADD: $(help_FCN_FILES) $(help_GEN_FCN_FILES) help/$(octave_dirstamp) mk-pkg-add |
9906 | 110 $(srcdir)/mk-pkg-add $(srcdir) $(help_FCN_FILES) -- $(help_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 image/PKG_ADD: $(image_FCN_FILES) $(image_GEN_FCN_FILES) image/$(octave_dirstamp) mk-pkg-add |
9906 | 114 $(srcdir)/mk-pkg-add $(srcdir) $(image_FCN_FILES) -- $(image_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 io/PKG_ADD: $(io_FCN_FILES) $(io_GEN_FCN_FILES) io/$(octave_dirstamp) mk-pkg-add |
9906 | 118 $(srcdir)/mk-pkg-add $(srcdir) $(io_FCN_FILES) -- $(io_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 linear-algebra/PKG_ADD: $(linear_algebra_FCN_FILES) $(linear_algebra_GEN_FCN_FILES) linear-algebra/$(octave_dirstamp) mk-pkg-add |
9906 | 122 $(srcdir)/mk-pkg-add $(srcdir) $(linear_algebra_FCN_FILES) -- $(linear_algebra_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 miscellaneous/PKG_ADD: $(miscellaneous_FCN_FILES) $(miscellaneous_GEN_FCN_FILES) miscellaneous/$(octave_dirstamp) mk-pkg-add |
9906 | 126 $(srcdir)/mk-pkg-add $(srcdir) $(miscellaneous_FCN_FILES) -- $(miscellaneous_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 optimization/PKG_ADD: $(optimization_FCN_FILES) $(optimization_GEN_FCN_FILES) optimization/$(octave_dirstamp) mk-pkg-add |
9906 | 130 $(srcdir)/mk-pkg-add "$(srcdir)" $(optimization_FCN_FILES) -- $(optimization_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 path/PKG_ADD: $(path_FCN_FILES) $(path_GEN_FCN_FILES) path/$(octave_dirstamp) mk-pkg-add |
9906 | 134 $(srcdir)/mk-pkg-add $(srcdir) $(path_FCN_FILES) -- $(path_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 pkg/PKG_ADD: $(pkg_FCN_FILES) $(pkg_GEN_FCN_FILES) pkg/$(octave_dirstamp) mk-pkg-add |
9906 | 138 $(srcdir)/mk-pkg-add $(srcdir) $(pkg_FCN_FILES) -- $(pkg_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 plot/PKG_ADD: $(plot_FCN_FILES) $(plot_GEN_FCN_FILES) plot/$(octave_dirstamp) mk-pkg-add |
9906 | 142 $(srcdir)/mk-pkg-add $(srcdir) $(plot_FCN_FILES) -- $(plot_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 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
145 polynomial/PKG_ADD: $(polynomial_FCN_FILES) $(polynomial_GEN_FCN_FILES) polynomial/$(octave_dirstamp) mk-pkg-add |
9906 | 146 $(srcdir)/mk-pkg-add $(srcdir) $(polynomial_FCN_FILES) -- $(polynomial_GEN_FCN_FILES) > $@-t |
147 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 |
13285
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
149 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
|
150 $(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
|
151 mv $@-t $@ |
9134ca9d4ec8
new functions for Matlab compatibility
John W. Eaton <jwe@octave.org>
parents:
13141
diff
changeset
|
152 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
153 set/PKG_ADD: $(set_FCN_FILES) $(set_GEN_FCN_FILES) set/$(octave_dirstamp) mk-pkg-add |
9906 | 154 $(srcdir)/mk-pkg-add $(srcdir) $(set_FCN_FILES) -- $(set_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 signal/PKG_ADD: $(signal_FCN_FILES) $(signal_GEN_FCN_FILES) signal/$(octave_dirstamp) mk-pkg-add |
9906 | 158 $(srcdir)/mk-pkg-add $(srcdir) $(signal_FCN_FILES) -- $(signal_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 sparse/PKG_ADD: $(sparse_FCN_FILES) $(sparse_GEN_FCN_FILES) sparse/$(octave_dirstamp) mk-pkg-add |
9906 | 162 $(srcdir)/mk-pkg-add $(srcdir) $(sparse_FCN_FILES) -- $(sparse_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 specfun/PKG_ADD: $(specfun_FCN_FILES) $(specfun_GEN_FCN_FILES) specfun/$(octave_dirstamp) mk-pkg-add |
9906 | 166 $(srcdir)/mk-pkg-add $(srcdir) $(specfun_FCN_FILES) -- $(specfun_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 special-matrix/PKG_ADD: $(special_matrix_FCN_FILES) $(special_matrix_GEN_FCN_FILES) special-matrix/$(octave_dirstamp) mk-pkg-add |
9906 | 170 $(srcdir)/mk-pkg-add $(srcdir) $(special_matrix_FCN_FILES) -- $(special_matrix_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 startup/PKG_ADD: $(startup_FCN_FILES) $(startup_GEN_FCN_FILES) startup/$(octave_dirstamp) mk-pkg-add |
9906 | 174 $(srcdir)/mk-pkg-add $(srcdir) $(startup_FCN_FILES) -- $(startup_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/base/PKG_ADD: $(statistics_base_FCN_FILES) $(statistics_base_GEN_FCN_FILES) statistics/base/$(octave_dirstamp) mk-pkg-add |
9906 | 178 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_base_FCN_FILES) -- $(statistics_base_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/distributions/PKG_ADD: $(statistics_distributions_FCN_FILES) $(statistics_distributions_GEN_FCN_FILES) statistics/distributions/$(octave_dirstamp) mk-pkg-add |
9906 | 182 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_distributions_FCN_FILES) -- $(statistics_distributions_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/models/PKG_ADD: $(statistics_models_FCN_FILES) $(statistics_models_GEN_FCN_FILES) statistics/models/$(octave_dirstamp) mk-pkg-add |
9906 | 186 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_models_FCN_FILES) -- $(statistics_models_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 statistics/tests/PKG_ADD: $(statistics_tests_FCN_FILES) $(statistics_tests_GEN_FCN_FILES) statistics/tests/$(octave_dirstamp) mk-pkg-add |
9906 | 190 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_tests_FCN_FILES) -- $(statistics_tests_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 strings/PKG_ADD: $(strings_FCN_FILES) $(strings_GEN_FCN_FILES) strings/$(octave_dirstamp) mk-pkg-add |
9906 | 194 $(srcdir)/mk-pkg-add $(srcdir) $(strings_FCN_FILES) -- $(strings_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 testfun/PKG_ADD: $(testfun_FCN_FILES) $(testfun_GEN_FCN_FILES) testfun/$(octave_dirstamp) mk-pkg-add |
9906 | 198 $(srcdir)/mk-pkg-add $(srcdir) $(testfun_FCN_FILES) -- $(testfun_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 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
201 time/PKG_ADD: $(time_FCN_FILES) $(time_GEN_FCN_FILES) time/$(octave_dirstamp) mk-pkg-add |
9906 | 202 $(srcdir)/mk-pkg-add $(srcdir) $(time_FCN_FILES) -- $(time_GEN_FCN_FILES) > $@-t |
203 mv $@-t $@ | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
204 |
9880 | 205 $(@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
|
206 $(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
|
207 $(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
|
208 $(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
|
209 $(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
|
210 $(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
|
211 $(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
|
212 $(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
|
213 $(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
|
214 $(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
|
215 $(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
|
216 $(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
|
217 $(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
|
218 $(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
|
219 $(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
|
220 $(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
|
221 $(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
|
222 $(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
|
223 $(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
|
224 $(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
|
225 $(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
|
226 $(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
|
227 $(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
|
228 $(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
|
229 $(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
|
230 $(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
|
231 $(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
|
232 $(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
|
233 $(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
|
234 $(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
|
235 |
9880 | 236 @ftp/$(octave_dirstamp): |
9906 | 237 $(MKDIR_P) @ftp |
238 : > @ftp/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
239 audio/$(octave_dirstamp): |
9906 | 240 $(MKDIR_P) audio |
241 : > audio/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
242 deprecated/$(octave_dirstamp): |
9906 | 243 $(MKDIR_P) deprecated |
244 : > deprecated/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
245 elfun/$(octave_dirstamp): |
9906 | 246 $(MKDIR_P) elfun |
247 : > elfun/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
248 general/$(octave_dirstamp): |
9906 | 249 $(MKDIR_P) general |
250 : > general/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
251 geometry/$(octave_dirstamp): |
9906 | 252 $(MKDIR_P) geometry |
253 : > geometry/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
254 help/$(octave_dirstamp): |
9906 | 255 $(MKDIR_P) help |
256 : > help/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
257 image/$(octave_dirstamp): |
9906 | 258 $(MKDIR_P) image |
259 : > image/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
260 io/$(octave_dirstamp): |
9906 | 261 $(MKDIR_P) io |
262 : > io/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
263 linear-algebra/$(octave_dirstamp): |
9906 | 264 $(MKDIR_P) linear-algebra |
265 : > linear-algebra/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
266 miscellaneous/$(octave_dirstamp): |
9906 | 267 $(MKDIR_P) miscellaneous |
268 : > miscellaneous/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
269 optimization/$(octave_dirstamp): |
9906 | 270 $(MKDIR_P) optimization |
271 : > optimization/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
272 path/$(octave_dirstamp): |
9906 | 273 $(MKDIR_P) path |
274 : > path/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
275 pkg/$(octave_dirstamp): |
9906 | 276 $(MKDIR_P) pkg |
277 : > pkg/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
278 plot/$(octave_dirstamp): |
9906 | 279 $(MKDIR_P) plot |
280 : > plot/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
281 polynomial/$(octave_dirstamp): |
9906 | 282 $(MKDIR_P) polynomial |
283 : > polynomial/$(octave_dirstamp) | |
13285
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
284 prefs/$(octave_dirstamp): |
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
285 $(MKDIR_P) prefs |
cb9b60b1c9bb
Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
13261
diff
changeset
|
286 : > prefs/$(octave_dirstamp) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
287 set/$(octave_dirstamp): |
9906 | 288 $(MKDIR_P) set |
289 : > set/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
290 signal/$(octave_dirstamp): |
9906 | 291 $(MKDIR_P) signal |
292 : > signal/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
293 sparse/$(octave_dirstamp): |
9906 | 294 $(MKDIR_P) sparse |
295 : > sparse/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
296 specfun/$(octave_dirstamp): |
9906 | 297 $(MKDIR_P) specfun |
298 : > specfun/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
299 special-matrix/$(octave_dirstamp): |
9906 | 300 $(MKDIR_P) special-matrix |
301 : > special-matrix/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
302 startup/$(octave_dirstamp): |
9906 | 303 $(MKDIR_P) startup |
304 : > startup/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
305 statistics/base/$(octave_dirstamp): |
9906 | 306 $(MKDIR_P) statistics/base |
307 : > statistics/base/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
308 statistics/distributions/$(octave_dirstamp): |
9906 | 309 $(MKDIR_P) statistics/distributions |
310 : > statistics/distributions/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
311 statistics/models/$(octave_dirstamp): |
9906 | 312 $(MKDIR_P) statistics/models |
313 : > statistics/models/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
314 statistics/tests/$(octave_dirstamp): |
9906 | 315 $(MKDIR_P) statistics/tests |
316 : > statistics/tests/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
317 strings/$(octave_dirstamp): |
9906 | 318 $(MKDIR_P) strings |
319 : > strings/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
320 testfun/$(octave_dirstamp): |
9906 | 321 $(MKDIR_P) testfun |
322 : > testfun/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
323 time/$(octave_dirstamp): |
9906 | 324 $(MKDIR_P) time |
325 : > time/$(octave_dirstamp) | |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
326 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
327 if AMCOND_BUILD_DOCS |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
328 |
14617
8ffb01c3a27a
doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
329 .DOCSTRINGS: $(FCN_FILES) $(GEN_FCN_FILES) mkdoc.pl Makefile |
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" |
14617
8ffb01c3a27a
doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
335 @$(PERL) $(srcdir)/mkdoc.pl "$(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 $@ |
14617
8ffb01c3a27a
doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
338 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
339 endif |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
340 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
341 $(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
|
342 @$(do_subst_config_vals) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
343 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
344 check-m-sources: |
11191
01ddaedd6ad5
Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
Rik <octave@nomad.inbox5.com>
parents:
10868
diff
changeset
|
345 @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
|
346 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
|
347 found=false; \ |
11191
01ddaedd6ad5
Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
Rik <octave@nomad.inbox5.com>
parents:
10868
diff
changeset
|
348 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
|
349 if [ "$$f" = $(srcdir)/"$$m" ]; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
350 found=true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
351 break; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
352 fi; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
353 done; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
354 if $$found; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
355 true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
356 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
357 missing=$$(echo $$f | $(SED) "s|^$(srcdir)||"); \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
358 echo "$$missing: not listed in SOURCES"; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
359 fi; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
360 done; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
361 if test -z "$$missing"; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
362 echo "yes"; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
363 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
364 .PHONY: check-m-sources |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
365 |
12177
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
366 check-missing-semicolon: |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
367 @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
|
368 ( 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
|
369 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
|
370 echo "source ('$$m');"; \ |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
371 done ) | ../run-octave -qf |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
372 .PHONY: check-missing-semicolon |
3592c57fa6a8
scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents:
11523
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 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
|
375 |
9968
f3bef90b7278
Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents:
9965
diff
changeset
|
376 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
|
377 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
378 install-startup-files: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
379 $(MKDIR_P) $(DESTDIR)$(fcnfiledir)/startup |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
380 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
|
381 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
382 $(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
|
383 $(DESTDIR)$(fcnfiledir)/startup/octaverc; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
384 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
385 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
|
386 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
387 $(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
|
388 $(DESTDIR)$(fcnfiledir)/startup/inputrc; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
389 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
390 $(MKDIR_P) $(DESTDIR)$(localfcnfiledir)/startup |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
391 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
|
392 then true; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
393 else \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
394 $(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
|
395 $(DESTDIR)$(localfcnfiledir)/startup/octaverc; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
396 fi |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
397 .PHONY: install-startup-files |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
398 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
399 uninstall-startup-files: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
400 rm -f $(DESTDIR)$(fcnfiledir)/startup/octaverc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
401 rm -f $(DESTDIR)$(fcnfiledir)/startup/inputrc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
402 rm -f $(DESTDIR)$(localfcnfiledir)/startup/octaverc |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
403 .PHONY: uninstall-startup-files |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
404 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
405 install-pkg-add: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
406 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
|
407 if [ -n "`cat $$f`" ]; then \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
408 $(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
|
409 $(INSTALL_DATA) $$f $(DESTDIR)$(fcnfiledir)/$$f; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
410 fi \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
411 done |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
412 .PHONY: install-pkg-add |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
413 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
414 uninstall-pkg-add: |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
415 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
|
416 rm -f $(DESTDIR)$(fcnfiledir)/$$f; \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
417 done |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
418 .PHONY: uninstall-pkg-add |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
419 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
420 EXTRA_DIST += \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
421 $(IMAGES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
422 $(FCN_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
423 $(FCN_FILES_IN) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
424 $(GEN_FCN_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
425 DOCSTRINGS \ |
14617
8ffb01c3a27a
doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents:
14432
diff
changeset
|
426 mkdoc.pl \ |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
427 mk-pkg-add |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
428 |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
429 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
|
430 .DOCSTRINGS \ |
10000
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
431 DOCSTRINGS \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
432 $(PKG_ADD_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
433 $(DIRSTAMP_FILES) \ |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
434 $(GEN_FCN_FILES) |
d6e361255a5c
Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents:
9968
diff
changeset
|
435 |