Tweaks for 8.5, teapot build
[tcl-tlc-base.git] / Makefile
blob179b4064a478eca0c81e9844d329597ee3e5955b
1 DESTDIR=
3 TEAPOT=/var/teapot
4 MYDESTDIR=$(DESTDIR)/usr/lib/tlc-base
6 TCLSH = TCLLIBPATH="." tclsh8.5
8 all: scripts
10 scripts: scripts-stamp
12 scripts-stamp: scripts/*.tcl scripts/*.itcl
13 ./make_tclIndex.tcl
14 touch scripts-stamp
16 install: all
17 install -d $(MYDESTDIR)
18 install -d $(MYDESTDIR)/scripts
19 install pkgIndex.tcl $(MYDESTDIR)
20 install init.tcl $(MYDESTDIR)
21 install scripts/*.tcl $(MYDESTDIR)/scripts
22 install scripts/*.itcl $(MYDESTDIR)/scripts
23 install scripts/tclIndex $(MYDESTDIR)/scripts
25 teapot: all
26 install -d teapot
27 tclpe teapot.txt
29 install-teapot:
30 teapot-admin add $(TEAPOT) teapot/*.zip
32 uninstall:
33 -rm -rf $(MYDESTDIR)
35 test: all
36 $(TCLSH) tests/all.tcl $(TESTFLAGS)
38 clean:
39 -rm -rf scripts/tclIndex scripts-stamp teapot