Lines 26-59
Link Here
|
26 |
exec_prefix = @exec_prefix@ |
26 |
exec_prefix = @exec_prefix@ |
27 |
|
27 |
|
28 |
# Directory in which to install the program scotty: |
28 |
# Directory in which to install the program scotty: |
29 |
BIN_INSTALL_DIR = $(exec_prefix)/bin |
29 |
BIN_INSTALL_DIR = $(DESTDIR)$(exec_prefix)/bin |
30 |
|
30 |
|
31 |
# Directory in which to install dynamic loadable modules: |
31 |
# Directory in which to install dynamic loadable modules: |
32 |
LIB_INSTALL_DIR = $(exec_prefix)/lib |
32 |
LIB_INSTALL_DIR = $(DESTDIR)$(exec_prefix)/lib |
33 |
|
33 |
|
34 |
# Directory in which dynamic loadable modules are installed: |
34 |
# Directory in which dynamic loadable modules are installed: |
35 |
LIB_RUNTIME_DIR = $(exec_prefix)/lib |
35 |
LIB_RUNTIME_DIR = $(DESTDIR)$(exec_prefix)/lib |
36 |
|
36 |
|
37 |
# Directory in which to install library files belonging to the extension. |
37 |
# Directory in which to install library files belonging to the extension. |
38 |
TNM_INSTALL_DIR = $(prefix)/lib/tnm$(TNM_VERSION) |
38 |
TNM_INSTALL_DIR = $(DESTDIR)$(prefix)/lib/tnm$(TNM_VERSION) |
39 |
|
39 |
|
40 |
# Directory in which to install library files belonging to the extension. |
40 |
# Directory in which to install library files belonging to the extension. |
41 |
TCL_INSTALL_DIR = $(prefix)/lib/tcl$(TCL_VERSION) |
41 |
TCL_INSTALL_DIR = $(DESTDIR)$(prefix)/lib/tcl$(TCL_VERSION) |
42 |
|
42 |
|
43 |
# Directory in which to install the library of tkined scripts. |
43 |
# Directory in which to install the library of tkined scripts. |
44 |
TKI_INSTALL_DIR = $(prefix)/lib/tkined$(TKI_VERSION) |
44 |
TKI_INSTALL_DIR = $(DESTDIR)$(prefix)/lib/tkined$(TKI_VERSION) |
45 |
|
45 |
|
46 |
# Top-level directory for manual entries: |
46 |
# Top-level directory for manual entries: |
47 |
MAN_INSTALL_DIR = $(prefix)/man |
47 |
MAN_INSTALL_DIR = $(DESTDIR)$(prefix)/man |
48 |
|
48 |
|
49 |
# Directory in which to install the manual entries: |
49 |
# Directory in which to install the manual entries: |
50 |
MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1 |
50 |
MAN1_INSTALL_DIR = $(DESTDIR)$(MAN_INSTALL_DIR)/man1 |
51 |
|
51 |
|
52 |
# Directory in which to install manual entry for straps: |
52 |
# Directory in which to install manual entry for straps: |
53 |
MAN8_INSTALL_DIR = $(MAN_INSTALL_DIR)/man8 |
53 |
MAN8_INSTALL_DIR = $(DESTDIR)$(MAN_INSTALL_DIR)/man8 |
54 |
|
54 |
|
55 |
# Directory in which to install manual entry for msqltcl, cmiptcl: |
55 |
# Directory in which to install manual entry for msqltcl, cmiptcl: |
56 |
MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann |
56 |
MANN_INSTALL_DIR = $(DESTDIR)$(MAN_INSTALL_DIR)/mann |
57 |
|
57 |
|
58 |
# To change the compiler switches, for example to change from -O |
58 |
# To change the compiler switches, for example to change from -O |
59 |
# to -g, change the following line: |
59 |
# to -g, change the following line: |
Lines 526-534
Link Here
|
526 |
echo "Installing $$i"; \ |
526 |
echo "Installing $$i"; \ |
527 |
$(INSTALL_DATA) $$i $(TNM_INSTALL_DIR)/mibs ; \ |
527 |
$(INSTALL_DATA) $$i $(TNM_INSTALL_DIR)/mibs ; \ |
528 |
done |
528 |
done |
529 |
@TCLLIBPATH="$(TNM_INSTALL_DIR) $$TCLLIBPATH"; \ |
529 |
@TCLLIBPATH="$(TNM_INSTALL_DIR) $(DESTDIR)$$TCLLIBPATH"; \ |
530 |
export TCLLIBPATH; \ |
530 |
export TCLLIBPATH; \ |
531 |
echo 'foreach f $$tnm(mibs) {puts "Parsing $$f"; mib load $$f}; exit' | \ |
531 |
echo 'foreach f $(DESTDIR)$$tnm(mibs) {puts "Parsing $$f"; mib load $$f}; exit' | \ |
532 |
./scotty |
532 |
./scotty |
533 |
|
533 |
|
534 |
tnm-install-library: |
534 |
tnm-install-library: |