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 | INSTALL = @INSTALL@ |
---|
13 | MKDIR_P = @MKDIR_P@ |
---|
14 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
---|
15 | SHELL = @SHELL@ |
---|
16 | TCLSH = $(bindir)/tclsh |
---|
17 | VPATH = $(srcdir) |
---|
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: |
---|
38 | |
---|
39 | install: install-scripts install-images |
---|
40 | $(TCLSH) $(srcdir)/../../../cf/mkindex.tcl --srcdir $(srcdir) \ |
---|
41 | --outfile tclIndex |
---|
42 | $(RM) $(destdir)/tclIndex |
---|
43 | $(INSTALL) -m 0444 tclIndex $(destdir) |
---|
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 | |
---|
52 | install-images: |
---|
53 | $(MKDIR_P) -m 0755 $(destdir)/images |
---|
54 | for i in $(srcdir)/images/*.png; do \ |
---|
55 | echo "Installing $$i" ; \ |
---|
56 | $(INSTALL) -m 444 $$i $(destdir)/images ; \ |
---|
57 | done |
---|
58 | |
---|
59 | clean: |
---|
60 | $(RM) tclIndex |
---|
61 | |
---|
62 | distclean: clean |
---|
63 | $(RM) Makefile *~ |
---|
Note: See
TracBrowser
for help on using the repository browser.