681
|
1 # |
|
2 # Makefile for octave's scripts/miscellaneous directory |
|
3 # |
|
4 # John W. Eaton |
1452
|
5 # jwe@bevo.che.wisc.edu |
|
6 # University of Wisconsin-Madison |
681
|
7 # Department of Chemical Engineering |
|
8 |
682
|
9 TOPDIR = ../.. |
681
|
10 |
|
11 script_sub_dir = miscellaneous |
|
12 |
|
13 srcdir = @srcdir@ |
|
14 top_srcdir = @top_srcdir@ |
|
15 VPATH = @srcdir@ |
|
16 |
|
17 include $(TOPDIR)/Makeconf |
|
18 |
|
19 INSTALL = @INSTALL@ |
|
20 INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
|
21 INSTALL_DATA = @INSTALL_DATA@ |
|
22 |
6283
|
23 SOURCES = ans.m bincoeff.m bug_report.m bunzip2.m comma.m \ |
|
24 compare_versions.m computer.m copyfile.m cputime.m \ |
6288
|
25 delete.m dir.m doc.m dos.m dump_prefs.m \ |
6283
|
26 fileattrib.m fileparts.m flops.m fullfile.m getfield.m gunzip.m \ |
|
27 inputname.m ispc.m isunix.m license.m list_primes.m ls.m \ |
|
28 ls_command.m menu.m mex.m mexext.m mkoctfile.m movefile.m \ |
|
29 news.m not.m orderfields.m pack.m paren.m parseparams.m \ |
|
30 popen2.m semicolon.m setfield.m single.m substruct.m tar.m \ |
|
31 tempdir.m tempname.m texas_lotto.m unix.m unpack.m untar.m \ |
|
32 unzip.m ver.m version.m warning_ids.m xor.m zip.m |
681
|
33 |
|
34 DISTFILES = Makefile.in $(SOURCES) |
|
35 |
6283
|
36 FCN_FILES = $(addprefix $(srcdir)/, $(SOURCES)) |
681
|
37 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
38 |
5597
|
39 all: PKG_ADD |
681
|
40 .PHONY: all |
|
41 |
2811
|
42 install install-strip: |
4225
|
43 $(do-script-install) |
2811
|
44 .PHONY: install install-strip |
681
|
45 |
|
46 uninstall: |
4225
|
47 $(do-script-uninstall) |
681
|
48 .PHONY: uninstall |
|
49 |
|
50 clean: |
|
51 .PHONY: clean |
|
52 |
5597
|
53 PKG_ADD: $(FCN_FILES) |
|
54 @echo "making PKG_ADD" |
|
55 @$(do-mkpkgadd) |
|
56 |
681
|
57 tags: $(SOURCES) |
|
58 ctags $(SOURCES) |
|
59 |
|
60 TAGS: $(SOURCES) |
|
61 etags $(SOURCES) |
|
62 |
|
63 mostlyclean: clean |
|
64 .PHONY: mostlyclean |
|
65 |
|
66 distclean: clean |
5866
|
67 rm -f Makefile PKG_ADD |
681
|
68 .PHONY: distclean |
|
69 |
1391
|
70 maintainer-clean: distclean |
681
|
71 rm -f tags TAGS |
1391
|
72 .PHONY: maintainer-clean |
681
|
73 |
|
74 dist: |
689
|
75 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/miscellaneous |
681
|
76 .PHONY: dist |