mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
|
--- Makefile.in.ORIG Mon Feb 17 13:27:32 1997
|
||
|
+++ Makefile.in Mon Feb 17 13:40:57 1997
|
||
|
@@ -56,6 +56,8 @@
|
||
|
|
||
|
# Directory in which to install the include file tcl.h:
|
||
|
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)
|
||
|
+GENERIC_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/generic
|
||
|
+UNIX_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/include/tcl$(VERSION)/unix
|
||
|
|
||
|
# Top-level directory in which to install manual entries:
|
||
|
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
|
||
|
@@ -393,7 +395,8 @@
|
||
|
|
||
|
install-libraries:
|
||
|
@for i in $(INSTALL_ROOT)$(prefix)/lib $(INCLUDE_INSTALL_DIR) \
|
||
|
- $(SCRIPT_INSTALL_DIR) ; \
|
||
|
+ $(SCRIPT_INSTALL_DIR) $(GENERIC_INCLUDE_INSTALL_DIR) \
|
||
|
+ $(UNIX_INCLUDE_INSTALL_DIR) ; \
|
||
|
do \
|
||
|
if [ ! -d $$i ] ; then \
|
||
|
echo "Making directory $$i"; \
|
||
|
@@ -402,13 +405,20 @@
|
||
|
else true; \
|
||
|
fi; \
|
||
|
done;
|
||
|
- @echo "Installing tcl.h"
|
||
|
- @$(INSTALL_DATA) $(GENERIC_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
|
||
|
+ @echo "Installing libraries, tcl.h and other headers"
|
||
|
@for i in $(TOP_DIR)/library/*.tcl $(TOP_DIR)/library/tclIndex $(UNIX_DIR)/tclAppInit.c; \
|
||
|
do \
|
||
|
echo "Installing $$i"; \
|
||
|
$(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \
|
||
|
done;
|
||
|
+ @echo "Installing $(TOP_DIR)unix/tclUnixPort.h"
|
||
|
+ @$(INSTALL_DATA) $(TOP_DIR)/unix/tclUnixPort.h $(UNIX_INCLUDE_INSTALL_DIR)
|
||
|
+ @for i in $(GENERIC_DIR)/*.h ; \
|
||
|
+ do \
|
||
|
+ echo "Installing $$i"; \
|
||
|
+ $(INSTALL_DATA) $$i $(GENERIC_INCLUDE_INSTALL_DIR); \
|
||
|
+ done;
|
||
|
+ @ln -sf $(GENERIC_INCLUDE_INSTALL_DIR)/tcl.h $(INCLUDE_INSTALL_DIR)/tcl.h
|
||
|
|
||
|
install-man:
|
||
|
@for i in $(MAN_INSTALL_DIR) $(MAN1_INSTALL_DIR) $(MAN3_INSTALL_DIR) $(MANN_INSTALL_DIR) ; \
|