annotate scripts/Makefile.in @ 7948:af10baa63915 ss-3-1-50

3.1.50 snapshot
author John W. Eaton <jwe@octave.org>
date Fri, 18 Jul 2008 17:42:48 -0400
parents 4584feed3ec4
children 21904fe299c8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
1 # Makefile for octave's scripts directory
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
2 #
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
3 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002,
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 # 2003, 2004, 2005, 2006, 2007 John W. Eaton
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
5 #
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
6 # This file is part of Octave.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
7 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
8 # Octave is free software; you can redistribute it and/or modify it
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
9 # under the terms of the GNU General Public License as published by the
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
10 # Free Software Foundation; either version 3 of the License, or (at
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
11 # your option) any later version.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
12 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
13 # Octave is distributed in the hope that it will be useful, but WITHOUT
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
16 # for more details.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
17 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
18 # You should have received a copy of the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
19 # along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6823
diff changeset
20 # <http://www.gnu.org/licenses/>.
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
21
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
22 TOPDIR = ..
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
23
686
0faebdd7df57 [project @ 1994-09-09 21:09:24 by jwe]
jwe
parents: 665
diff changeset
24 script_sub_dir = .
0faebdd7df57 [project @ 1994-09-09 21:09:24 by jwe]
jwe
parents: 665
diff changeset
25
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
26 srcdir = @srcdir@
409
37d6e31d683f [project @ 1994-04-20 07:59:04 by jwe]
jwe
parents: 342
diff changeset
27 top_srcdir = @top_srcdir@
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
28 VPATH = @srcdir@
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
29
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
30 include $(TOPDIR)/Makeconf
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
31
651
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 570
diff changeset
32 INSTALL = @INSTALL@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 570
diff changeset
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 570
diff changeset
34 INSTALL_DATA = @INSTALL_DATA@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 570
diff changeset
35
6283
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5812
diff changeset
36 SOURCES =
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
37
3319
a4f11eae45c4 [project @ 1999-10-22 02:03:08 by jwe]
jwe
parents: 3305
diff changeset
38 ALL_M_FILES1 := $(shell find $(srcdir) -name '*.m' -print)
a4f11eae45c4 [project @ 1999-10-22 02:03:08 by jwe]
jwe
parents: 3305
diff changeset
39 ALL_M_FILES := $(patsubst $(srcdir)/%, %, $(ALL_M_FILES1))
a4f11eae45c4 [project @ 1999-10-22 02:03:08 by jwe]
jwe
parents: 3305
diff changeset
40
6797
5b00586ccd27 [project @ 2007-07-25 15:49:17 by jwe]
jwe
parents: 6796
diff changeset
41 DISTFILES = $(addprefix $(srcdir)/, Makefile.in ChangeLog $(SOURCES) \
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
42 configure.in configure mkinstalldirs mkdoc mkpkgadd gethelp.cc \
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
43 skip-autoheader move-if-change) DOCSTRINGS
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
44
6823
9fddcc586065 [project @ 2007-08-24 08:27:27 by dbateman]
dbateman
parents: 6797
diff changeset
45 SUBDIRS = audio control deprecated elfun finance general geometry image io \
5812
653405a3af98 [project @ 2006-05-11 17:43:42 by jwe]
jwe
parents: 5732
diff changeset
46 linear-algebra miscellaneous optimization path pkg plot polynomial \
5232
9b776f5a33eb [project @ 2005-03-22 16:16:30 by jwe]
jwe
parents: 5196
diff changeset
47 quaternion set signal sparse specfun special-matrix startup \
5589
f812a0680d05 [project @ 2006-01-06 00:14:42 by jwe]
jwe
parents: 5585
diff changeset
48 statistics strings testfun time
686
0faebdd7df57 [project @ 1994-09-09 21:09:24 by jwe]
jwe
parents: 665
diff changeset
49
0faebdd7df57 [project @ 1994-09-09 21:09:24 by jwe]
jwe
parents: 665
diff changeset
50 DISTSUBDIRS = $(SUBDIRS)
569
9a204e17cbf8 [project @ 1994-07-26 21:08:56 by jwe]
jwe
parents: 409
diff changeset
51
688
a99f27ec34ba [project @ 1994-09-10 04:52:36 by jwe]
jwe
parents: 686
diff changeset
52 FCN_FILES = # $(wildcard $(srcdir)/*.m)
a99f27ec34ba [project @ 1994-09-10 04:52:36 by jwe]
jwe
parents: 686
diff changeset
53 FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES))
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
54
3295
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3225
diff changeset
55 all: $(SUBDIRS) DOCSTRINGS
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
56 .PHONY: all
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
57
1182
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
58 $(SUBDIRS):
3297
b68ef5dec3bd [project @ 1999-10-19 17:52:27 by jwe]
jwe
parents: 3295
diff changeset
59 $(MAKE) -C $@ all
1182
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
60 .PHONY: $(SUBDIRS)
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
61
4098
8496ae60db8a [project @ 2002-10-10 05:20:20 by jwe]
jwe
parents: 4093
diff changeset
62 DOCSTRINGS: gethelp$(BUILD_EXEEXT) mkdoc $(ALL_M_FILES)
3295
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3225
diff changeset
63 $(srcdir)/mkdoc $(srcdir) > $@.t
3319
a4f11eae45c4 [project @ 1999-10-22 02:03:08 by jwe]
jwe
parents: 3305
diff changeset
64 mv $@.t $@
3295
35a6d027772c [project @ 1999-10-19 10:13:02 by jwe]
jwe
parents: 3225
diff changeset
65
4098
8496ae60db8a [project @ 2002-10-10 05:20:20 by jwe]
jwe
parents: 4093
diff changeset
66 gethelp$(BUILD_EXEEXT): gethelp.cc
4298
055d2f68d445 [project @ 2003-01-13 15:09:31 by jwe]
jwe
parents: 4292
diff changeset
67 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS)
4093
5a82e874999b [project @ 2002-10-08 23:48:45 by jwe]
jwe
parents: 4029
diff changeset
68
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2749
diff changeset
69 install install-strip uninstall clean mostlyclean distclean maintainer-clean::
1685
5738406d6759 [project @ 1995-12-30 04:12:43 by jwe]
jwe
parents: 1635
diff changeset
70 @$(subdir-for-command)
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2749
diff changeset
71 .PHONY: install install-strip uninstall
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2749
diff changeset
72 .PHONY: clean mostlyclean distclean maintainer-clean
1182
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
73
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2749
diff changeset
74 install install-strip::
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4298
diff changeset
75 ls -LR $(DESTDIR)$(datadir)/octave > $(DESTDIR)$(datadir)/octave/ls-R
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4298
diff changeset
76 ls -LR $(DESTDIR)$(libexecdir)/octave > $(DESTDIR)$(libexecdir)/octave/ls-R
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
77
1182
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
78 uninstall::
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4298
diff changeset
79 rm -f $(DESTDIR)$(datadir)/octave/ls-R $(DESTDIR)$(libexecdir)/octave/ls-R
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
80
1182
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
81 tags TAGS:: $(SOURCES)
7698
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7017
diff changeset
82 $(subdir-for-command)
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
83
1182
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
84 tags::
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
85 ctags $(SOURCES)
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
86
1182
1f7cab2821b5 [project @ 1995-03-30 04:48:42 by jwe]
jwe
parents: 1154
diff changeset
87 TAGS:: $(SOURCES)
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
88 etags $(SOURCES)
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
89
5276
233140bc8068 [project @ 2005-04-08 16:58:34 by jwe]
jwe
parents: 5232
diff changeset
90 clean distclean maintainer-clean::
4098
8496ae60db8a [project @ 2002-10-10 05:20:20 by jwe]
jwe
parents: 4093
diff changeset
91 rm -f gethelp$(BUILD_EXEEXT)
3601
b1830ce6993a [project @ 2000-02-24 05:07:15 by jwe]
jwe
parents: 3364
diff changeset
92
5276
233140bc8068 [project @ 2005-04-08 16:58:34 by jwe]
jwe
parents: 5232
diff changeset
93 distclean maintainer-clean::
4710
48191fcee04d [project @ 2004-01-22 19:12:02 by jwe]
jwe
parents: 4440
diff changeset
94 rm -f Makefile config.log config.status DOCSTRINGS
5527
ce71ed4c6da6 [project @ 2005-11-01 22:15:49 by jwe]
jwe
parents: 5276
diff changeset
95 rm -rf autom4te.cache
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
96
2392
39a6500cde4f [project @ 1996-10-12 19:55:53 by jwe]
jwe
parents: 2069
diff changeset
97 maintainer-clean::
4440
0bca8443db39 [project @ 2003-07-02 22:45:29 by jwe]
jwe
parents: 4413
diff changeset
98 rm -f tags TAGS configure
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
99
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
100 dist:
6467
a84de7048629 [project @ 2007-03-27 16:05:15 by jwe]
jwe
parents: 6358
diff changeset
101 ln $(DISTFILES) ../`cat ../.fname`/scripts
3297
b68ef5dec3bd [project @ 1999-10-19 17:52:27 by jwe]
jwe
parents: 3295
diff changeset
102 for dir in $(DISTSUBDIRS); do mkdir ../`cat ../.fname`/scripts/$$dir; $(MAKE) -C $$dir $@; done
4
b4df021f796c [project @ 1993-08-08 01:26:08 by jwe]
jwe
parents:
diff changeset
103 .PHONY: dist
7698
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7017
diff changeset
104
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7017
diff changeset
105 check-m-sources:
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7017
diff changeset
106 @$(subdir-for-command)
4584feed3ec4 check-m-sources: new target for script Makefiles
John W. Eaton <jwe@octave.org>
parents: 7017
diff changeset
107 .PHONY: check-m-sources