681
|
1 # |
|
2 # Makefile for octave's scripts/plot directory |
|
3 # |
|
4 # John W. Eaton |
1714
|
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 = plot |
|
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 |
2624
|
30 BINDISTFILES = $(FCN_FILES) |
|
31 |
681
|
32 all: |
|
33 .PHONY: all |
|
34 |
979
|
35 install: |
810
|
36 $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) |
681
|
37 for f in $(FCN_FILES_NO_DIR) ; do \ |
|
38 rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ |
|
39 $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ |
|
40 done |
|
41 .PHONY: install |
|
42 |
|
43 uninstall: |
|
44 for f in $(FCN_FILES_NO_DIR) ; \ |
|
45 do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \ |
|
46 done |
|
47 .PHONY: uninstall |
|
48 |
|
49 clean: |
|
50 .PHONY: clean |
|
51 |
|
52 tags: $(SOURCES) |
|
53 ctags $(SOURCES) |
|
54 |
|
55 TAGS: $(SOURCES) |
|
56 etags $(SOURCES) |
|
57 |
|
58 mostlyclean: clean |
|
59 .PHONY: mostlyclean |
|
60 |
|
61 distclean: clean |
|
62 rm -f Makefile |
|
63 .PHONY: distclean |
|
64 |
1391
|
65 maintainer-clean: distclean |
681
|
66 rm -f tags TAGS |
1391
|
67 .PHONY: maintainer-clean |
681
|
68 |
|
69 dist: |
689
|
70 ln $(DISTFILES) ../../`cat ../../.fname`/scripts/plot |
681
|
71 .PHONY: dist |
2624
|
72 |
|
73 bin-dist: |
|
74 ln $(BINDISTFILES) ../../`cat ../../.fname`/scripts/plot |
|
75 .PHONY: bin-dist |