annotate scripts/Makefile.am @ 16088:b29b10fbb744 stable release-3-6-4

Version 3.6.4 released. * configure.ac (AC_INIT): Version is now 3.6.4. (OCTAVE_RELEASE_DATE): Now 2013-02-21.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Feb 2013 15:17:54 -0500
parents c5b4b9507a55
children 5306e943ce74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
35 DIRSTAMP_FILES =
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
16054
c5b4b9507a55 Fix building when --disable-docs argument given.
Rik <rik@octave.org>
parents: 15828
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
16054
c5b4b9507a55 Fix building when --disable-docs argument given.
Rik <rik@octave.org>
parents: 15828
diff changeset
79 else
c5b4b9507a55 Fix building when --disable-docs argument given.
Rik <rik@octave.org>
parents: 15828
diff changeset
80 all-local: $(GEN_FCN_FILES) $(PKG_ADD_FILES)
c5b4b9507a55 Fix building when --disable-docs argument given.
Rik <rik@octave.org>
parents: 15828
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
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
85 @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
86 $(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
87 mv $@-t $@
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
90 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
94 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
98 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
102 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
106 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
110 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
114 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
118 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
122 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
126 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
130 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
134 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
138 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
142 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
146 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
154 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
158 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
162 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
166 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
170 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
174 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
178 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
182 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
186 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
190 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
194 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
198 $(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
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
202 $(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
203 mv $@-t $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
204
9880
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
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
7f77e5081e83 Add ftp objects
David Bateman <dbateman@free.fr>
parents: 9864
diff changeset
236 @ftp/$(octave_dirstamp):
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
237 $(MKDIR_P) @ftp
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
240 $(MKDIR_P) audio
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
243 $(MKDIR_P) deprecated
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
246 $(MKDIR_P) elfun
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
249 $(MKDIR_P) general
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
252 $(MKDIR_P) geometry
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
255 $(MKDIR_P) help
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
258 $(MKDIR_P) image
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
261 $(MKDIR_P) io
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
264 $(MKDIR_P) linear-algebra
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
267 $(MKDIR_P) miscellaneous
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
270 $(MKDIR_P) optimization
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
273 $(MKDIR_P) path
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
276 $(MKDIR_P) pkg
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
279 $(MKDIR_P) plot
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
282 $(MKDIR_P) polynomial
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
288 $(MKDIR_P) set
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
291 $(MKDIR_P) signal
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
294 $(MKDIR_P) sparse
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
297 $(MKDIR_P) specfun
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
300 $(MKDIR_P) special-matrix
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
303 $(MKDIR_P) startup
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
306 $(MKDIR_P) statistics/base
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
309 $(MKDIR_P) statistics/distributions
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
312 $(MKDIR_P) statistics/models
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
315 $(MKDIR_P) statistics/tests
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
318 $(MKDIR_P) strings
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
321 $(MKDIR_P) testfun
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
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
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
324 $(MKDIR_P) time
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9880
diff changeset
325 : > time/$(octave_dirstamp)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
326
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
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
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
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"
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
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 $@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
339 endif
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
diff changeset
340
9794
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 \
15828
41a05ee9021a doc: Use Perl to create DOCSTRINGS in scripts directory.
Rik <octave@nomad.inbox5.com>
parents: 14138
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