681
|
1 # Makefile for octave's scripts/miscellaneous directory |
|
2 # |
7017
|
3 # Copyright (C) 1994, 1995, 1996, 1997, 2002, 2005, 2006, 2007 |
|
4 # John W. Eaton |
|
5 # |
7016
|
6 # This file is part of Octave. |
|
7 # |
|
8 # Octave is free software; you can redistribute it and/or modify it |
|
9 # under the terms of the GNU General Public License as published by the |
|
10 # Free Software Foundation; either version 3 of the License, or (at |
|
11 # your option) any later version. |
|
12 # |
|
13 # Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 # for more details. |
|
17 # |
|
18 # You should have received a copy of the GNU General Public License |
|
19 # along with Octave; see the file COPYING. If not, see |
|
20 # <http://www.gnu.org/licenses/>. |
681
|
21 |
682
|
22 TOPDIR = ../.. |
681
|
23 |
|
24 script_sub_dir = miscellaneous |
|
25 |
|
26 srcdir = @srcdir@ |
|
27 top_srcdir = @top_srcdir@ |
|
28 VPATH = @srcdir@ |
|
29 |
|
30 include $(TOPDIR)/Makeconf |
|
31 |
|
32 INSTALL = @INSTALL@ |
|
33 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
34 INSTALL_DATA = @INSTALL_DATA@ |
|
35 |
6412
|
36 SOURCES = ans.m bincoeff.m bug_report.m bunzip2.m cast.m comma.m \ |
6283
|
37 compare_versions.m computer.m copyfile.m cputime.m \ |
6288
|
38 delete.m dir.m doc.m dos.m dump_prefs.m \ |
6283
|
39 fileattrib.m fileparts.m flops.m fullfile.m getfield.m gunzip.m \ |
7010
|
40 gzip.m inputname.m ismac.m ispc.m isunix.m license.m list_primes.m ls.m \ |
6283
|
41 ls_command.m menu.m mex.m mexext.m mkoctfile.m movefile.m \ |
6518
|
42 news.m orderfields.m pack.m paren.m parseparams.m \ |
6868
|
43 run.m semicolon.m setfield.m single.m substruct.m swapbytes.m tar.m \ |
6283
|
44 tempdir.m tempname.m texas_lotto.m unix.m unpack.m untar.m \ |
|
45 unzip.m ver.m version.m warning_ids.m xor.m zip.m |
681
|
46 |
6797
|
47 DISTFILES = $(addprefix $(srcdir)/, Makefile.in $(SOURCES)) |
681
|
48 |
6283
|
49 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681
|
50 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
51 |
5597
|
52 all: PKG_ADD |
681
|
53 .PHONY: all |
|
54 |
2811
|
55 install install-strip: |
4225
|
56 $(do-script-install) |
2811
|
57 .PHONY: install install-strip |
681
|
58 |
|
59 uninstall: |
4225
|
60 $(do-script-uninstall) |
681
|
61 .PHONY: uninstall |
|
62 |
|
63 clean: |
|
64 .PHONY: clean |
|
65 |
5597
|
66 PKG_ADD: $(FCN_FILES) |
|
67 @echo "making PKG_ADD" |
|
68 @$(do-mkpkgadd) |
|
69 |
681
|
70 tags: $(SOURCES) |
|
71 ctags $(SOURCES) |
|
72 |
|
73 TAGS: $(SOURCES) |
|
74 etags $(SOURCES) |
|
75 |
|
76 mostlyclean: clean |
|
77 .PHONY: mostlyclean |
|
78 |
|
79 distclean: clean |
5866
|
80 rm -f Makefile PKG_ADD |
681
|
81 .PHONY: distclean |
|
82 |
1391
|
83 maintainer-clean: distclean |
681
|
84 rm -f tags TAGS |
1391
|
85 .PHONY: maintainer-clean |
681
|
86 |
|
87 dist: |
6467
|
88 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/miscellaneous |
681
|
89 .PHONY: dist |