summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2007-01-30 23:21:10 (GMT)
committerhobbs <hobbs@noemail.net>2007-01-30 23:21:10 (GMT)
commitb3739a80273ca86cf4d6244f9da7582581ea592c (patch)
treeb9ecbf41f064099ea8f64a5cb3e9dba67f148cda /win
parent1a36ca867304cb949a6f4da844bd3fd8738bfc16 (diff)
downloadtcl-b3739a80273ca86cf4d6244f9da7582581ea592c.zip
tcl-b3739a80273ca86cf4d6244f9da7582581ea592c.tar.gz
tcl-b3739a80273ca86cf4d6244f9da7582581ea592c.tar.bz2
* win/Makefile.in (install-private-headers): added target
FossilOrigin-Name: 8f82eed3fb614d02b0696e797a4ff9f6770a62f4
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in24
1 files changed, 23 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 6c796ed..25cbbf7 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.68.2.6 2006/04/05 20:50:46 dgp Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.68.2.7 2007/01/30 23:21:12 hobbs Exp $
VERSION = @TCL_VERSION@
@@ -56,6 +56,9 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TCL_LIBRARY)
# Directory in which to install the include file tcl.h:
INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
+# Directory in which to (optionally) install the private tcl headers:
+PRIVATE_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir)
+
# Top-level directory in which to install manual entries:
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(mandir)
@@ -541,6 +544,25 @@ install-libraries: libraries
install-doc: doc
+# Optional target to install private headers
+install-private-headers: libraries
+ @for i in $(PRIVATE_INCLUDE_INSTALL_DIR); \
+ do \
+ if [ ! -d $$i ] ; then \
+ echo "Making directory $$i"; \
+ $(MKDIR) $$i; \
+ chmod 755 $$i; \
+ else true; \
+ fi; \
+ done;
+ @echo "Installing private header files to $(PRIVATE_INCLUDE_INSTALL_DIR)/";
+ @for i in "$(GENERIC_DIR)/tclInt.h" "$(GENERIC_DIR)/tclIntDecls.h" \
+ "$(GENERIC_DIR)/tclIntPlatDecls.h" "$(GENERIC_DIR)/tclPort.h" \
+ "$(WIN_DIR)/tclWinPort.h" ; \
+ do \
+ $(COPY) "$$i" "$(PRIVATE_INCLUDE_INSTALL_DIR)"; \
+ done;
+
# Specifying TESTFLAGS on the command line is the standard way to pass
# args to tcltest, ie:
# % make test TESTFLAGS="-verbose bps -file fileName.test"