Line | |
---|
1 | |
---|
2 | srcdir = @srcdir@ |
---|
3 | prefix = @prefix@ |
---|
4 | exec_prefix = @exec_prefix@ |
---|
5 | bindir = @bindir@ |
---|
6 | libdir = @libdir@ |
---|
7 | datadir = @datadir@ |
---|
8 | datarootdir = @datarootdir@ |
---|
9 | mandir = @mandir@ |
---|
10 | includedir = @includedir@ |
---|
11 | |
---|
12 | SHELL = @SHELL@ |
---|
13 | INSTALL = @INSTALL@ |
---|
14 | MKDIR_P = @MKDIR_P@ |
---|
15 | TCLSH = @TCLSH@ |
---|
16 | VPATH = $(srcdir) |
---|
17 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
---|
18 | |
---|
19 | FILES = \ |
---|
20 | $(srcdir)/auto.tcl \ |
---|
21 | $(srcdir)/main.tcl \ |
---|
22 | $(srcdir)/legend.tcl \ |
---|
23 | $(srcdir)/objview.tcl \ |
---|
24 | $(srcdir)/resultspage.tcl \ |
---|
25 | $(srcdir)/runview.tcl \ |
---|
26 | $(srcdir)/statuslist.tcl \ |
---|
27 | $(srcdir)/stringdiffs.tcl \ |
---|
28 | $(srcdir)/test.tcl \ |
---|
29 | $(srcdir)/testtree.tcl \ |
---|
30 | $(srcdir)/testview.tcl |
---|
31 | |
---|
32 | version = $(PACKAGE_VERSION) |
---|
33 | name = RapptureTester$(version) |
---|
34 | |
---|
35 | destdir = $(libdir)/$(name)/scripts |
---|
36 | |
---|
37 | all: tclIndex |
---|
38 | |
---|
39 | tclIndex: $(FILES) |
---|
40 | $(TCLSH) $(srcdir)/../../gui/cf/mkindex.tcl --srcdir $(srcdir) \ |
---|
41 | --outfile tclIndex |
---|
42 | |
---|
43 | install: all install_scripts install_images |
---|
44 | |
---|
45 | install_scripts: |
---|
46 | $(MKDIR_P) -m 0755 $(destdir) |
---|
47 | @for i in $(FILES); do \ |
---|
48 | echo "Installing $$i" ; \ |
---|
49 | $(INSTALL) -m 444 $$i $(destdir) ; \ |
---|
50 | done |
---|
51 | $(INSTALL) -m 444 tclIndex $(destdir) |
---|
52 | |
---|
53 | install_images: |
---|
54 | $(MKDIR_P) -m 0755 $(destdir)/images |
---|
55 | @for i in $(srcdir)/images/*.png; do \ |
---|
56 | echo "Installing $$i" ; \ |
---|
57 | $(INSTALL) -m 444 $$i $(destdir)/images ; \ |
---|
58 | done |
---|
59 | |
---|
60 | clean: |
---|
61 | $(RM) tclIndex |
---|
62 | |
---|
63 | distclean: clean |
---|
64 | $(RM) Makefile *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.