diff options
author | hobbs <hobbs> | 2007-01-30 23:21:23 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2007-01-30 23:21:23 (GMT) |
commit | aabe6cd039acad6c1f98ce17daa66437a97e7081 (patch) | |
tree | a622cf76ac0c9a6101e41e7ac46547820a7e0e69 /win | |
parent | eb0d47b2627975a093d512e53f76239b51ee806a (diff) | |
download | tk-aabe6cd039acad6c1f98ce17daa66437a97e7081.zip tk-aabe6cd039acad6c1f98ce17daa66437a97e7081.tar.gz tk-aabe6cd039acad6c1f98ce17daa66437a97e7081.tar.bz2 |
* win/Makefile.in (install-private-headers): added target
Diffstat (limited to 'win')
-rw-r--r-- | win/Makefile.in | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in index 9cb4273..f96678f 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -4,7 +4,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.59.2.6 2006/09/25 17:28:21 andreas_kupries Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.59.2.7 2007/01/30 23:21:24 hobbs Exp $ TCLVERSION = @TCL_VERSION@ TCLPATCHL = @TCL_PATCH_LEVEL@ @@ -57,6 +57,9 @@ SCRIPT_INSTALL_DIR = $(INSTALL_ROOT)$(TK_LIBRARY) # Directory in which to install the include file tk.h: INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) +# Directory in which to (optionally) install the private tk headers: +PRIVATE_INCLUDE_INSTALL_DIR = $(INSTALL_ROOT)$(includedir) + # Top-level directory for manual entries: MAN_INSTALL_DIR = $(INSTALL_ROOT)$(mandir) @@ -517,6 +520,25 @@ install-demos: 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)/tkInt.h $(GENERIC_DIR)/tkIntDecls.h \ + $(GENERIC_DIR)/tkIntPlatDecls.h $(GENERIC_DIR)/tkPort.h \ + $(WIN_DIR)/tkWinPort.h $(WIN_DIR)/tkWinInt.h \ + $(WIN_DIR)/tkWin.h; \ + do \ + $(INSTALL_DATA) $$i $(PRIVATE_INCLUDE_INSTALL_DIR); \ + done; $(WISH): $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(WISH_OBJS) wish.$(RES) $(CC) $(CFLAGS) $(WISH_OBJS) $(TCL_LIB_FILE) $(TK_LIB_FILE) $(LIBS) \ |