diff options
author | das <das@noemail.net> | 2005-06-23 05:59:38 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2005-06-23 05:59:38 (GMT) |
commit | 9173a56caf298e9f775542654c1cef14723e5e7e (patch) | |
tree | 5416bf235393cc07d2d0f6fb1598530932b7b642 /unix/Makefile.in | |
parent | 3f4e932c3947a4749d94e2fd3536e6e5b2d1e809 (diff) | |
download | tcl-9173a56caf298e9f775542654c1cef14723e5e7e.zip tcl-9173a56caf298e9f775542654c1cef14723e5e7e.tar.gz tcl-9173a56caf298e9f775542654c1cef14723e5e7e.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).
FossilOrigin-Name: ce4b5c969a34f10e100a38bedadc05d859528798
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 7 |
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 |