summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authordas <das>2005-06-23 05:59:39 (GMT)
committerdas <das>2005-06-23 05:59:39 (GMT)
commit2c19fc89f99ba7fd4d1ebb17dfa5110383ef9ebc (patch)
tree5416bf235393cc07d2d0f6fb1598530932b7b642 /unix/Makefile.in
parentea03fe1abe7cd5423ac0862722f132777d5a54a9 (diff)
downloadtcl-2c19fc89f99ba7fd4d1ebb17dfa5110383ef9ebc.zip
tcl-2c19fc89f99ba7fd4d1ebb17dfa5110383ef9ebc.tar.gz
tcl-2c19fc89f99ba7fd4d1ebb17dfa5110383ef9ebc.tar.bz2
* unix/Makefile.in (install-private-headers): rewrite tclPort.h when
installing private headers to remove ../unix relative #include path to tclUnixPort.h (which is incorrect at the installed location).
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 552b343..fce9f09 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.121.2.14 2005/06/02 22:52:51 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.121.2.15 2005/06/23 05:59:51 das Exp $
VERSION = @TCL_VERSION@
MAJOR_VERSION = @TCL_MAJOR_VERSION@
@@ -742,11 +742,14 @@ install-private-headers: libraries
fi
@echo "Installing private header files";
@for i in $(GENERIC_DIR)/tclInt.h $(GENERIC_DIR)/tclIntDecls.h \
- $(GENERIC_DIR)/tclIntPlatDecls.h $(GENERIC_DIR)/tclPort.h \
+ $(GENERIC_DIR)/tclIntPlatDecls.h \
$(UNIX_DIR)/tclUnixPort.h $(GENERIC_DIR)/tclMath.h; \
do \
$(INSTALL_DATA) $$i $(PRIVATE_INCLUDE_INSTALL_DIR); \
done;
+ @sed -e 's#\.\./unix/##' $(GENERIC_DIR)/tclPort.h > tclPort.h; \
+ $(INSTALL_DATA) tclPort.h $(PRIVATE_INCLUDE_INSTALL_DIR); \
+ rm -f tclPort.h
Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
$(SHELL) config.status