source: trunk/tester/scripts/Makefile.in @ 2084

Last change on this file since 2084 was 2081, checked in by mmc, 13 years ago

Part 2 of the major reorganization to group all of the rappture utilties
under a single rappture command. Builds better now. Still need to fix
up the builder to work with the objects in a different location now.

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