annotate scripts/Makefile.am @ 15834:f366e9948259

periodic merge of stable to default
author John W. Eaton <jwe@octave.org>
date Fri, 21 Dec 2012 16:11:33 -0500
parents 2c6b00c03329 41a05ee9021a
children 5306e943ce74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15269
b42167e9d805 maint: Update Makefile.am comments to refer to Octave (program) rather than octave (command).
Rik <rik@octave.org>
parents: 15179
diff changeset
1 # Makefile for Octave's scripts directory
9794
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
15737
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
27 CLEANFILES =
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
28
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
29 DISTCLEANFILES =
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
30
10000
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
31 FCN_FILE_DIRS =
9794
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 FCN_FILES =
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 GEN_FCN_FILES =
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 PKG_ADD_FILES =
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
38
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
39 DIRSTAMP_FILES =
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
40
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 IMAGES =
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
43 JAR_FILES =
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
44
10000
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
45 ## Read subdirs to set all variables above
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
46 include @ftp/module.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47 include audio/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 include deprecated/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49 include elfun/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 include general/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
51 include geometry/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 include help/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53 include image/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 include io/module.mk
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
55 include java/module.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56 include linear-algebra/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 include miscellaneous/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 include optimization/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
59 include path/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 include pkg/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61 include plot/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 include polynomial/module.mk
13261
9134ca9d4ec8 new functions for Matlab compatibility
John W. Eaton <jwe@octave.org>
parents: 13141
diff changeset
63 include prefs/module.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 include set/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
65 include signal/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 include sparse/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
67 include specfun/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68 include special-matrix/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 include startup/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 include statistics/base/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 include statistics/distributions/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
72 include statistics/models/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 include statistics/tests/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74 include strings/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75 include testfun/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 include time/module.mk
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
78 nobase_fcnfile_DATA = $(FCN_FILES) $(GEN_FCN_FILES) $(JAR_FILES)
10000
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
79
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
80 image_DATA = $(IMAGES)
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
81
10000
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
82 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
83
14432
e053d1622f4e build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
84 if AMCOND_BUILD_DOCS
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
85 all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES) $(JAR_FILES) .DOCSTRINGS
14432
e053d1622f4e build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
86 else
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
87 all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES) $(JAR_FILES)
14432
e053d1622f4e build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
88 endif
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 octave_dirstamp = $(am__leading_dot)dirstamp
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
91
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
92 @ftp/PKG_ADD: $(@ftp_FCN_FILES) $(@ftp_GEN_FCN_FILES) @ftp/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
93 $(srcdir)/mk-pkg-add $(srcdir) $(@ftp_FCN_FILES) -- $(@ftp_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
94 mv $@-t $@
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
95
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 audio/PKG_ADD: $(audio_FCN_FILES) $(audio_GEN_FCN_FILES) audio/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
97 $(srcdir)/mk-pkg-add $(srcdir) $(audio_FCN_FILES) -- $(audio_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
98 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100 deprecated/PKG_ADD: $(deprecated_FCN_FILES) $(deprecated_GEN_FCN_FILES) deprecated/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
101 $(srcdir)/mk-pkg-add $(srcdir) $(deprecated_FCN_FILES) -- $(deprecated_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
102 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
104 elfun/PKG_ADD: $(elfun_FCN_FILES) $(elfun_GEN_FCN_FILES) elfun/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
105 $(srcdir)/mk-pkg-add $(srcdir) $(elfun_FCN_FILES) -- $(elfun_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
106 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108 general/PKG_ADD: $(general_FCN_FILES) $(general_GEN_FCN_FILES) general/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
109 $(srcdir)/mk-pkg-add $(srcdir) $(general_FCN_FILES) -- $(general_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
110 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 geometry/PKG_ADD: $(geometry_FCN_FILES) $(geometry_GEN_FCN_FILES) geometry/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
113 $(srcdir)/mk-pkg-add $(srcdir) $(geometry_FCN_FILES) -- $(geometry_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
114 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116 help/PKG_ADD: $(help_FCN_FILES) $(help_GEN_FCN_FILES) help/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
117 $(srcdir)/mk-pkg-add $(srcdir) $(help_FCN_FILES) -- $(help_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
118 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
119
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120 image/PKG_ADD: $(image_FCN_FILES) $(image_GEN_FCN_FILES) image/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
121 $(srcdir)/mk-pkg-add $(srcdir) $(image_FCN_FILES) -- $(image_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
122 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 io/PKG_ADD: $(io_FCN_FILES) $(io_GEN_FCN_FILES) io/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
125 $(srcdir)/mk-pkg-add $(srcdir) $(io_FCN_FILES) -- $(io_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
126 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
128 java/PKG_ADD: $(java_FCN_FILES) $(java_GEN_FCN_FILES) java/$(octave_dirstamp) mk-pkg-add
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
129 $(srcdir)/mk-pkg-add $(srcdir) $(java_FCN_FILES) -- $(java_GEN_FCN_FILES) > $@-t
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
130 mv $@-t $@
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
131
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132 linear-algebra/PKG_ADD: $(linear_algebra_FCN_FILES) $(linear_algebra_GEN_FCN_FILES) linear-algebra/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
133 $(srcdir)/mk-pkg-add $(srcdir) $(linear_algebra_FCN_FILES) -- $(linear_algebra_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
134 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 miscellaneous/PKG_ADD: $(miscellaneous_FCN_FILES) $(miscellaneous_GEN_FCN_FILES) miscellaneous/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
137 $(srcdir)/mk-pkg-add $(srcdir) $(miscellaneous_FCN_FILES) -- $(miscellaneous_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
138 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
140 optimization/PKG_ADD: $(optimization_FCN_FILES) $(optimization_GEN_FCN_FILES) optimization/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
141 $(srcdir)/mk-pkg-add "$(srcdir)" $(optimization_FCN_FILES) -- $(optimization_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
142 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
143
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
144 path/PKG_ADD: $(path_FCN_FILES) $(path_GEN_FCN_FILES) path/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
145 $(srcdir)/mk-pkg-add $(srcdir) $(path_FCN_FILES) -- $(path_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
146 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148 pkg/PKG_ADD: $(pkg_FCN_FILES) $(pkg_GEN_FCN_FILES) pkg/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
149 $(srcdir)/mk-pkg-add $(srcdir) $(pkg_FCN_FILES) -- $(pkg_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
150 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
151
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
152 plot/PKG_ADD: $(plot_FCN_FILES) $(plot_GEN_FCN_FILES) plot/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
153 $(srcdir)/mk-pkg-add $(srcdir) $(plot_FCN_FILES) -- $(plot_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
154 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 polynomial/PKG_ADD: $(polynomial_FCN_FILES) $(polynomial_GEN_FCN_FILES) polynomial/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
157 $(srcdir)/mk-pkg-add $(srcdir) $(polynomial_FCN_FILES) -- $(polynomial_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
158 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159
13285
cb9b60b1c9bb Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 13261
diff changeset
160 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
161 $(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
162 mv $@-t $@
9134ca9d4ec8 new functions for Matlab compatibility
John W. Eaton <jwe@octave.org>
parents: 13141
diff changeset
163
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
164 set/PKG_ADD: $(set_FCN_FILES) $(set_GEN_FCN_FILES) set/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
165 $(srcdir)/mk-pkg-add $(srcdir) $(set_FCN_FILES) -- $(set_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
166 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
167
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 signal/PKG_ADD: $(signal_FCN_FILES) $(signal_GEN_FCN_FILES) signal/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
169 $(srcdir)/mk-pkg-add $(srcdir) $(signal_FCN_FILES) -- $(signal_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
170 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 sparse/PKG_ADD: $(sparse_FCN_FILES) $(sparse_GEN_FCN_FILES) sparse/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
173 $(srcdir)/mk-pkg-add $(srcdir) $(sparse_FCN_FILES) -- $(sparse_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
174 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176 specfun/PKG_ADD: $(specfun_FCN_FILES) $(specfun_GEN_FCN_FILES) specfun/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
177 $(srcdir)/mk-pkg-add $(srcdir) $(specfun_FCN_FILES) -- $(specfun_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
178 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
179
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180 special-matrix/PKG_ADD: $(special_matrix_FCN_FILES) $(special_matrix_GEN_FCN_FILES) special-matrix/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
181 $(srcdir)/mk-pkg-add $(srcdir) $(special_matrix_FCN_FILES) -- $(special_matrix_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
182 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 startup/PKG_ADD: $(startup_FCN_FILES) $(startup_GEN_FCN_FILES) startup/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
185 $(srcdir)/mk-pkg-add $(srcdir) $(startup_FCN_FILES) -- $(startup_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
186 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 statistics/base/PKG_ADD: $(statistics_base_FCN_FILES) $(statistics_base_GEN_FCN_FILES) statistics/base/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
189 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_base_FCN_FILES) -- $(statistics_base_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
190 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 statistics/distributions/PKG_ADD: $(statistics_distributions_FCN_FILES) $(statistics_distributions_GEN_FCN_FILES) statistics/distributions/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
193 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_distributions_FCN_FILES) -- $(statistics_distributions_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
194 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 statistics/models/PKG_ADD: $(statistics_models_FCN_FILES) $(statistics_models_GEN_FCN_FILES) statistics/models/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
197 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_models_FCN_FILES) -- $(statistics_models_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
198 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 statistics/tests/PKG_ADD: $(statistics_tests_FCN_FILES) $(statistics_tests_GEN_FCN_FILES) statistics/tests/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
201 $(srcdir)/mk-pkg-add $(srcdir) $(statistics_tests_FCN_FILES) -- $(statistics_tests_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
202 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204 strings/PKG_ADD: $(strings_FCN_FILES) $(strings_GEN_FCN_FILES) strings/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
205 $(srcdir)/mk-pkg-add $(srcdir) $(strings_FCN_FILES) -- $(strings_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
206 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 testfun/PKG_ADD: $(testfun_FCN_FILES) $(testfun_GEN_FCN_FILES) testfun/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
209 $(srcdir)/mk-pkg-add $(srcdir) $(testfun_FCN_FILES) -- $(testfun_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
210 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 time/PKG_ADD: $(time_FCN_FILES) $(time_GEN_FCN_FILES) time/$(octave_dirstamp) mk-pkg-add
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
213 $(srcdir)/mk-pkg-add $(srcdir) $(time_FCN_FILES) -- $(time_GEN_FCN_FILES) > $@-t
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
214 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
216 $(@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
217 $(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
218 $(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
219 $(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
220 $(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
221 $(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
222 $(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
223 $(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
224 $(io_GEN_FCN_FILES): io/$(octave_dirstamp)
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
225 $(java_GEN_FCN_FILES): java/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226 $(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
227 $(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
228 $(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
229 $(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
230 $(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
231 $(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
232 $(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
233 $(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
234 $(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
235 $(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
236 $(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
237 $(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
238 $(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
239 $(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
240 $(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
241 $(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
242 $(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
243 $(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
244 $(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
245 $(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
246 $(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
247
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
248 @ftp/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
249 $(MKDIR_P) @ftp
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
250 : > @ftp/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251 audio/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
252 $(MKDIR_P) audio
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
253 : > audio/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
254 deprecated/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
255 $(MKDIR_P) deprecated
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
256 : > deprecated/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
257 elfun/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
258 $(MKDIR_P) elfun
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
259 : > elfun/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
260 general/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
261 $(MKDIR_P) general
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
262 : > general/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
263 geometry/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
264 $(MKDIR_P) geometry
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
265 : > geometry/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
266 help/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
267 $(MKDIR_P) help
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
268 : > help/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269 image/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
270 $(MKDIR_P) image
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
271 : > image/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
272 io/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
273 $(MKDIR_P) io
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
274 : > io/$(octave_dirstamp)
15625
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
275 java/$(octave_dirstamp):
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
276 $(MKDIR_P) java
acf0addfc610 include Octave Forge java package in core Octave
John W. Eaton <jwe@octave.org>
parents: 15269
diff changeset
277 : > java/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278 linear-algebra/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
279 $(MKDIR_P) linear-algebra
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
280 : > linear-algebra/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 miscellaneous/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
282 $(MKDIR_P) miscellaneous
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
283 : > miscellaneous/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 optimization/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
285 $(MKDIR_P) optimization
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
286 : > optimization/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 path/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
288 $(MKDIR_P) path
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
289 : > path/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
290 pkg/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
291 $(MKDIR_P) pkg
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
292 : > pkg/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
293 plot/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
294 $(MKDIR_P) plot
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
295 : > plot/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 polynomial/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
297 $(MKDIR_P) polynomial
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
298 : > polynomial/$(octave_dirstamp)
13285
cb9b60b1c9bb Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 13261
diff changeset
299 prefs/$(octave_dirstamp):
cb9b60b1c9bb Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 13261
diff changeset
300 $(MKDIR_P) prefs
cb9b60b1c9bb Create scripts/prefs/ directory if it does not exist.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 13261
diff changeset
301 : > prefs/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
302 set/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
303 $(MKDIR_P) set
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
304 : > set/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
305 signal/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
306 $(MKDIR_P) signal
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
307 : > signal/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
308 sparse/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
309 $(MKDIR_P) sparse
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
310 : > sparse/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
311 specfun/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
312 $(MKDIR_P) specfun
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
313 : > specfun/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
314 special-matrix/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
315 $(MKDIR_P) special-matrix
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
316 : > special-matrix/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
317 startup/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
318 $(MKDIR_P) startup
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
319 : > startup/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
320 statistics/base/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
321 $(MKDIR_P) statistics/base
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
322 : > statistics/base/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 statistics/distributions/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
324 $(MKDIR_P) statistics/distributions
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
325 : > statistics/distributions/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
326 statistics/models/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
327 $(MKDIR_P) statistics/models
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
328 : > statistics/models/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
329 statistics/tests/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
330 $(MKDIR_P) statistics/tests
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
331 : > statistics/tests/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332 strings/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
333 $(MKDIR_P) strings
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
334 : > strings/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
335 testfun/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
336 $(MKDIR_P) testfun
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
337 : > testfun/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 time/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
339 $(MKDIR_P) time
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
340 : > time/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
342 if AMCOND_BUILD_DOCS
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
343
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
344 .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
345 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
346 cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \
82d47b706424 Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents: 10004
diff changeset
347 touch -r $(srcdir)/DOCSTRINGS DOCSTRINGS; \
82d47b706424 Remove unnecessary uses of simple_move_if_change_rule
Rik <rdrider0-list@yahoo.com>
parents: 10004
diff changeset
348 fi
10868
29ccddba2e5e Create .DOCSTRINGS quietly and avoid screen clutter during build.
Rik <octave@nomad.inbox5.com>
parents: 10867
diff changeset
349 @echo "creating .DOCSTRINGS from .m script files"
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
350 @$(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
351 $(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
352 touch $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
354 endif
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
355
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
356 $(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
357 @$(do_subst_config_vals)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
358
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
359 check-m-sources:
11191
01ddaedd6ad5 Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
Rik <octave@nomad.inbox5.com>
parents: 10868
diff changeset
360 @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
361 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
362 found=false; \
11191
01ddaedd6ad5 Reverse changeset b1f4bdc276b6. Use all lower case for "uniformoutput" option.
Rik <octave@nomad.inbox5.com>
parents: 10868
diff changeset
363 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
364 if [ "$$f" = $(srcdir)/"$$m" ]; then \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
365 found=true; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
366 break; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
367 fi; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
368 done; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
369 if $$found; then \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
370 true; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
371 else \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
372 missing=$$(echo $$f | $(SED) "s|^$(srcdir)||"); \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
373 echo "$$missing: not listed in SOURCES"; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
374 fi; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375 done; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 if test -z "$$missing"; then \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377 echo "yes"; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
378 fi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
379 .PHONY: check-m-sources
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
380
12177
3592c57fa6a8 scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
381 check-missing-semicolon:
3592c57fa6a8 scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
382 @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
383 ( 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
384 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
385 echo "source ('$$m');"; \
3592c57fa6a8 scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
386 done ) | ../run-octave -qf
3592c57fa6a8 scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
387 .PHONY: check-missing-semicolon
3592c57fa6a8 scripts/Makefile.am (check-m-semicolon): new rule.
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
388
15179
3b8275fed4dd build: Add rule to build ctags for *.m files in scripts directory.
Rik <rik@octave.org>
parents: 14617
diff changeset
389 ## Add rule to generate ctags.
3b8275fed4dd build: Add rule to build ctags for *.m files in scripts directory.
Rik <rik@octave.org>
parents: 14617
diff changeset
390 ## Automake would normally generate such a rule, but only if there is a
3b8275fed4dd build: Add rule to build ctags for *.m files in scripts directory.
Rik <rik@octave.org>
parents: 14617
diff changeset
391 ## xxx_SOURCES target
3b8275fed4dd build: Add rule to build ctags for *.m files in scripts directory.
Rik <rik@octave.org>
parents: 14617
diff changeset
392 ctags:
3b8275fed4dd build: Add rule to build ctags for *.m files in scripts directory.
Rik <rik@octave.org>
parents: 14617
diff changeset
393 ctags $(addprefix $(srcdir)/, $(FCN_FILES)) $(GEN_FCN_FILES)
3b8275fed4dd build: Add rule to build ctags for *.m files in scripts directory.
Rik <rik@octave.org>
parents: 14617
diff changeset
394
9968
f3bef90b7278 Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents: 9965
diff changeset
395 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
396
9968
f3bef90b7278 Remove various install-local targets in favor of using automake syntax for installation
Rik <rdrider0-list@yahoo.com>
parents: 9965
diff changeset
397 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
398
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
399 install-startup-files:
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
400 $(MKDIR_P) $(DESTDIR)$(fcnfiledir)/startup
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
401 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
402 else \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
403 $(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
404 $(DESTDIR)$(fcnfiledir)/startup/octaverc; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
405 fi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
406 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
407 else \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
408 $(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
409 $(DESTDIR)$(fcnfiledir)/startup/inputrc; \
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 $(MKDIR_P) $(DESTDIR)$(localfcnfiledir)/startup
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
412 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
413 then true; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
414 else \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
415 $(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
416 $(DESTDIR)$(localfcnfiledir)/startup/octaverc; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
417 fi
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
418 .PHONY: install-startup-files
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
419
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
420 uninstall-startup-files:
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
421 rm -f $(DESTDIR)$(fcnfiledir)/startup/octaverc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
422 rm -f $(DESTDIR)$(fcnfiledir)/startup/inputrc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
423 rm -f $(DESTDIR)$(localfcnfiledir)/startup/octaverc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
424 .PHONY: uninstall-startup-files
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
425
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
426 install-pkg-add:
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
427 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
428 if [ -n "`cat $$f`" ]; then \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
429 $(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
430 $(INSTALL_DATA) $$f $(DESTDIR)$(fcnfiledir)/$$f; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
431 fi \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
432 done
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
433 .PHONY: install-pkg-add
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
434
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
435 uninstall-pkg-add:
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
436 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
437 rm -f $(DESTDIR)$(fcnfiledir)/$$f; \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
438 done
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
439 .PHONY: uninstall-pkg-add
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
440
10000
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
441 EXTRA_DIST += \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
442 $(IMAGES) \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
443 $(FCN_FILES) \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
444 $(FCN_FILES_IN) \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
445 $(GEN_FCN_FILES) \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
446 DOCSTRINGS \
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
447 mkdoc.pl \
10000
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
448 mk-pkg-add
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
449
15737
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
450 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
451 .DOCSTRINGS \
10000
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
452 DOCSTRINGS \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
453 $(PKG_ADD_FILES) \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
454 $(DIRSTAMP_FILES) \
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
455 $(GEN_FCN_FILES)
d6e361255a5c Use Automake syntax to build helper program gethelp in scripts directory
Rik <rdrider0-list@yahoo.com>
parents: 9968
diff changeset
456
15737
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
457 distclean-local:
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
458 if [ "x$(srcdir)" != "x." ]; then \
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
459 rm $(java_JAVA_IMAGES); \
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
460 fi
71dfd53ed47a build: Add rules to clean built files in java/scripts directory.
Rik <rik@octave.org>
parents: 15736
diff changeset
461