0.91.0-1
[tcl-tlc.git] / Makefile
blobe46a8f6a710ed72794cafb73ab92e0523797f070
1 DESTDIR=
3 #MYDESTDIR=$(DESTDIR)/test/lib/tlc
4 MYDESTDIR=$(DESTDIR)/usr/lib/tlc
5 BINDIR=$(DESTDIR)/usr/bin
6 #MYDESTDIR=$(DESTDIR)/testthread/lib/tlc
8 all: scripts
10 scripts: scripts-stamp
12 scripts-stamp: scripts/*.tcl scripts/*.itk scripts/*.itcl
13 ./make_tclIndex.tcl
14 touch scripts-stamp
16 install: all
17 install -d $(MYDESTDIR)
18 install -d $(MYDESTDIR)/scripts
19 install -d $(MYDESTDIR)/scripts/images
20 install -d $(MYDESTDIR)/tools
21 install pkgIndex.tcl $(MYDESTDIR)
22 install tlc-base.tcl $(MYDESTDIR)
23 install tlc.tcl $(MYDESTDIR)
24 install scripts/*.tcl $(MYDESTDIR)/scripts
25 install scripts/*.itk $(MYDESTDIR)/scripts
26 install scripts/*.itcl $(MYDESTDIR)/scripts
27 install scripts/tclIndex $(MYDESTDIR)/scripts
28 #install tools/tlc_probe $(MYDESTDIR)/tools
29 install tools/tlc_probe $(BINDIR)
30 install tools/hconfig_console $(BINDIR)
31 -install scripts/images/*.gif $(MYDESTDIR)/scripts/images
32 -install scripts/images/*.xbm $(MYDESTDIR)/scripts/images
34 uninstall:
35 -rm -rf $(MYDESTDIR)
37 clean:
38 -rm -rf scripts/tclIndex scripts-stamp