715
|
1 # |
|
2 # Makefile for octave's scripts/specfun directory |
|
3 # |
|
4 # John W. Eaton |
1452
|
5 # jwe@bevo.che.wisc.edu |
|
6 # University of Wisconsin-Madison |
715
|
7 # Department of Chemical Engineering |
|
8 |
|
9 TOPDIR = ../.. |
|
10 |
|
11 script_sub_dir = specfun |
|
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 |
|
23 SOURCES = *.m |
|
24 |
|
25 DISTFILES = Makefile.in $(SOURCES) |
|
26 |
|
27 FCN_FILES = $(wildcard $(srcdir)/*.m) |
|
28 FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) |
|
29 |
|
30 all: |
|
31 .PHONY: all |
|
32 |
979
|
33 install: |
810
|
34 $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) |
715
|
35 for f in $(FCN_FILES_NO_DIR) ; do \ |
|
36 rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ |
|
37 $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ |
|
38 done |
|
39 .PHONY: install |
|
40 |
|
41 uninstall: |
|
42 for f in $(FCN_FILES_NO_DIR) ; \ |
|
43 do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ |
|
44 done |
|
45 .PHONY: uninstall |
|
46 |
|
47 clean: |
|
48 .PHONY: clean |
|
49 |
|
50 tags: $(SOURCES) |
|
51 ctags $(SOURCES) |
|
52 |
|
53 TAGS: $(SOURCES) |
|
54 etags $(SOURCES) |
|
55 |
|
56 mostlyclean: clean |
|
57 .PHONY: mostlyclean |
|
58 |
|
59 distclean: clean |
|
60 rm -f Makefile |
|
61 .PHONY: distclean |
|
62 |
1391
|
63 maintainer-clean: distclean |
715
|
64 rm -f tags TAGS |
1391
|
65 .PHONY: maintainer-clean |
715
|
66 |
|
67 local-dist: |
|
68 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/specfun |
|
69 .PHONY: local-dist |
|
70 |
|
71 dist: |
|
72 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/specfun |
|
73 .PHONY: dist |