From b0221dde4d16171e7d4b79b860bcaf6935a6ff47 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 30 Jan 2007 23:21:11 +0000 Subject: * win/Makefile.in (install-private-headers): added target --- ChangeLog | 6 +++++- win/Makefile.in | 24 +++++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e32dc63..11b433e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ +2007-01-30 Jeff Hobbs + + * win/Makefile.in (install-private-headers): added target + 2007-01-29 Don Porter - * doc/fcopy.n: Typo fix. [Bug 1630627] + * doc/fcopy.n: Typo fix. [Bug 1630627] 2007-01-25 Daniel Steffen 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" -- cgit v0.12