Lines 1-48
Link Here
|
1 |
--- UI/Makefile.orig 1998-11-09 04:39:29.000000000 +0100 |
|
|
2 |
+++ UI/Makefile 2013-11-05 17:30:19.000000000 +0100 |
3 |
@@ -20,31 +20,31 @@ |
4 |
echo '# export TCL_LIBRARY TK_LIBRARY' >> bsvc |
5 |
echo 'ARGS=$$*' >> bsvc |
6 |
echo 'export ARGS' >> bsvc |
7 |
- echo 'exec $(WISH) -f $(INSTALL_DIR)/UI/bsvc.tk' >> bsvc |
8 |
+ echo 'exec $(WISH) -f $(PREFIX)/lib/bsvc/bsvc.tk' >> bsvc |
9 |
chmod +x bsvc |
10 |
|
11 |
bsvc.tk: Makefile |
12 |
echo '#!$(WISH) -f' > bsvc.tk |
13 |
- echo 'set Program(InstallDir) $(INSTALL_DIR)' >> bsvc.tk |
14 |
- echo 'set Program(BitmapDir) $$Program(InstallDir)/UI/bitmaps' >> bsvc.tk |
15 |
- echo 'set Program(HelpDir) $$Program(InstallDir)/UI/help' >> bsvc.tk |
16 |
- echo 'set Program(LibDir) $$Program(InstallDir)/UI' >> bsvc.tk |
17 |
+ echo 'set Program(InstallDir) $(PREFIX)' >> bsvc.tk |
18 |
+ echo 'set Program(BitmapDir) $(PREFIX)/lib/bsvc/bitmaps' >> bsvc.tk |
19 |
+ echo 'set Program(HelpDir) $(PREFIX)/lib/bsvc/help' >> bsvc.tk |
20 |
+ echo 'set Program(LibDir) $(PREFIX)/lib/bsvc' >> bsvc.tk |
21 |
echo 'set Program(WWWBrowser) "$(WWW_BROWSER)"' >> bsvc.tk |
22 |
echo 'set Program(WWWHomePage) "$(WWW_HOME_PAGE)"' >> bsvc.tk |
23 |
echo 'set Program(StopIndicator) C:\\BSVC\\bin\\STOP' >> bsvc.tk |
24 |
echo 'if {$$tcl_version >= 7.5 && $$tcl_platform(platform) == "windows"} {' >> bsvc.tk |
25 |
- echo ' option readfile $$Program(InstallDir)/UI/bsvc.win 40' >> bsvc.tk |
26 |
+ echo ' option readfile $(PREFIX)/lib/bsvc/bsvc.win 40' >> bsvc.tk |
27 |
echo '} else {' >> bsvc.tk |
28 |
- echo ' option readfile $$Program(InstallDir)/UI/bsvc.ad 40' >> bsvc.tk |
29 |
+ echo ' option readfile $(PREFIX)/lib/bsvc/bsvc.ad 40' >> bsvc.tk |
30 |
echo '}' >> bsvc.tk |
31 |
- echo 'source $$Program(InstallDir)/UI/main.tk' >> bsvc.tk |
32 |
+ echo 'source $(PREFIX)/lib/bsvc/main.tk' >> bsvc.tk |
33 |
|
34 |
install: bsvc bsvc.tk |
35 |
- $(MKDIR) $(INSTALL_DIR)/UI |
36 |
- $(MKDIR) $(INSTALL_DIR)/UI/bitmaps |
37 |
- $(MKDIR) $(INSTALL_DIR)/UI/help |
38 |
- $(INSTALL) *.tk *.ad $(INSTALL_DIR)/UI |
39 |
- $(INSTALL) bitmaps/* $(INSTALL_DIR)/UI/bitmaps |
40 |
- $(INSTALL) help/* $(INSTALL_DIR)/UI/help |
41 |
+ $(MKDIR) $(PROJECT_BASE)/lib/bsvc |
42 |
+ $(MKDIR) $(PROJECT_BASE)/lib/bsvc/bitmaps |
43 |
+ $(MKDIR) $(PROJECT_BASE)/lib/bsvc/help |
44 |
+ $(INSTALL) *.tk *.ad $(PROJECT_BASE)/lib/bsvc |
45 |
+ $(INSTALL) bitmaps/* $(PROJECT_BASE)/lib/bsvc/bitmaps |
46 |
+ $(INSTALL) help/* $(PROJECT_BASE)/lib/bsvc/help |
47 |
$(INSTALL) bsvc $(INSTALL_DIR) |
48 |
|