annotate scripts/miscellaneous/Makefile.in @ 7017:a1dbe9d80eee

[project @ 2007-10-12 21:27:11 by jwe]
author jwe
date Fri, 12 Oct 2007 21:27:37 +0000
parents 93c65f2a5668
children 271fa61d8fae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
1 # Makefile for octave's scripts/miscellaneous directory
8264438c7f5b [project @ 1994-09-09 15:18:05 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) 1994, 1995, 1996, 1997, 2002, 2005, 2006, 2007
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 # 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: 7010
diff changeset
6 # This file is part of Octave.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7010
diff changeset
7 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7010
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: 7010
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: 7010
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: 7010
diff changeset
11 # your option) any later version.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7010
diff changeset
12 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7010
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: 7010
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: 7010
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: 7010
diff changeset
16 # for more details.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7010
diff changeset
17 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7010
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: 7010
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: 7010
diff changeset
20 # <http://www.gnu.org/licenses/>.
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
21
682
646ff1b3ff9a [project @ 1994-09-09 15:44:16 by jwe]
jwe
parents: 681
diff changeset
22 TOPDIR = ../..
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
23
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
24 script_sub_dir = miscellaneous
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
25
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
26 srcdir = @srcdir@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
27 top_srcdir = @top_srcdir@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
28 VPATH = @srcdir@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
29
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
30 include $(TOPDIR)/Makeconf
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
31
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
32 INSTALL = @INSTALL@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
34 INSTALL_DATA = @INSTALL_DATA@
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
35
6412
b2096bb759b1 [project @ 2007-03-15 02:33:45 by jwe]
jwe
parents: 6358
diff changeset
36 SOURCES = ans.m bincoeff.m bug_report.m bunzip2.m cast.m comma.m \
6283
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5866
diff changeset
37 compare_versions.m computer.m copyfile.m cputime.m \
6288
0c6d07b9240e [project @ 2007-02-08 19:55:44 by jwe]
jwe
parents: 6283
diff changeset
38 delete.m dir.m doc.m dos.m dump_prefs.m \
6283
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5866
diff changeset
39 fileattrib.m fileparts.m flops.m fullfile.m getfield.m gunzip.m \
7010
f7d2f54008f5 [project @ 2007-10-11 17:50:34 by jwe]
jwe
parents: 6868
diff changeset
40 gzip.m inputname.m ismac.m ispc.m isunix.m license.m list_primes.m ls.m \
6283
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5866
diff changeset
41 ls_command.m menu.m mex.m mexext.m mkoctfile.m movefile.m \
6518
952c8b00525e [project @ 2007-04-11 20:50:22 by jwe]
jwe
parents: 6467
diff changeset
42 news.m orderfields.m pack.m paren.m parseparams.m \
6868
975fcdfb0d2d [project @ 2007-09-06 16:34:29 by dbateman]
dbateman
parents: 6863
diff changeset
43 run.m semicolon.m setfield.m single.m substruct.m swapbytes.m tar.m \
6283
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5866
diff changeset
44 tempdir.m tempname.m texas_lotto.m unix.m unpack.m untar.m \
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5866
diff changeset
45 unzip.m ver.m version.m warning_ids.m xor.m zip.m
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
46
6797
5b00586ccd27 [project @ 2007-07-25 15:49:17 by jwe]
jwe
parents: 6796
diff changeset
47 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES))
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
48
6283
7099f1ae465e [project @ 2007-02-08 08:37:00 by jwe]
jwe
parents: 5866
diff changeset
49 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES))
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
50 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
51
5597
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
52 all: PKG_ADD
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
53 .PHONY: all
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
54
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2624
diff changeset
55 install install-strip:
4225
fa4dfbc33ce5 [project @ 2002-12-18 03:07:48 by jwe]
jwe
parents: 3028
diff changeset
56 $(do-script-install)
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2624
diff changeset
57 .PHONY: install install-strip
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
58
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
59 uninstall:
4225
fa4dfbc33ce5 [project @ 2002-12-18 03:07:48 by jwe]
jwe
parents: 3028
diff changeset
60 $(do-script-uninstall)
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
61 .PHONY: uninstall
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
62
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
63 clean:
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
64 .PHONY: clean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
65
5597
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
66 PKG_ADD: $(FCN_FILES)
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
67 @echo "making PKG_ADD"
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
68 @$(do-mkpkgadd)
e0e48ea2a93c [project @ 2006-01-13 21:17:37 by jwe]
jwe
parents: 5196
diff changeset
69
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
70 tags: $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
71 ctags $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
72
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
73 TAGS: $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
74 etags $(SOURCES)
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
75
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
76 mostlyclean: clean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
77 .PHONY: mostlyclean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
78
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
79 distclean: clean
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5597
diff changeset
80 rm -f Makefile PKG_ADD
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
81 .PHONY: distclean
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
82
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 979
diff changeset
83 maintainer-clean: distclean
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
84 rm -f tags TAGS
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 979
diff changeset
85 .PHONY: maintainer-clean
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
86
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
87 dist:
6467
a84de7048629 [project @ 2007-03-27 16:05:15 by jwe]
jwe
parents: 6412
diff changeset
88 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/miscellaneous
681
8264438c7f5b [project @ 1994-09-09 15:18:05 by jwe]
jwe
parents:
diff changeset
89 .PHONY: dist