summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authordas <das>2005-06-23 06:00:26 (GMT)
committerdas <das>2005-06-23 06:00:26 (GMT)
commite73ef55a5933bee7c2841a1c87854417d8da71ff (patch)
tree8690a90aac359fb2374b2f26bfa0d68e6e06f9dd /unix/Makefile.in
parent8f4b4c54db724505dca2ab174792054c09138823 (diff)
downloadtk-e73ef55a5933bee7c2841a1c87854417d8da71ff.zip
tk-e73ef55a5933bee7c2841a1c87854417d8da71ff.tar.gz
tk-e73ef55a5933bee7c2841a1c87854417d8da71ff.tar.bz2
* unix/Makefile.in (install-private-headers): rewrite tkPort.h when
installing private headers to remove ../unix relative #include path to tkUnixPort.h (which is incorrect at the installed location).
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index ee507dd..470cd81 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.87.2.10 2005/05/25 17:46:40 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.87.2.11 2005/06/23 06:00:29 das Exp $
# Current Tk version; used in various names.
@@ -771,14 +771,14 @@ install-private-headers: libraries
fi
@echo "Installing private header files";
@for i in $(GENERIC_DIR)/tkInt.h $(GENERIC_DIR)/tkIntDecls.h \
- $(GENERIC_DIR)/tkIntPlatDecls.h $(GENERIC_DIR)/tkPort.h \
+ $(GENERIC_DIR)/tkIntPlatDecls.h \
$(@TK_WINDOWINGSYSTEM@_PRIVATE_HDRS); \
do \
$(INSTALL_DATA) $$i $(PRIVATE_INCLUDE_INSTALL_DIR); \
done;
- @if test -f tkConfig.h; then\
- $(INSTALL_DATA) tkConfig.h $(PRIVATE_INCLUDE_INSTALL_DIR); \
- fi;
+ @sed -e 's#\.\./unix/##' $(GENERIC_DIR)/tkPort.h > tkPort.h; \
+ $(INSTALL_DATA) tkPort.h $(PRIVATE_INCLUDE_INSTALL_DIR); \
+ rm -f tkPort.h
Makefile: $(UNIX_DIR)/Makefile.in
$(SHELL) config.status