diff options
author | stwo <stwo> | 2009-04-24 15:40:06 (GMT) |
---|---|---|
committer | stwo <stwo> | 2009-04-24 15:40:06 (GMT) |
commit | ef97c299ed912c2d622d5ca61eba0b1e709d8c1e (patch) | |
tree | dac7108ced535582cf0d56f8970928f474f2d974 /unix | |
parent | 382591b3b328180c8df82c499dc29434bcadc09a (diff) | |
download | tk-ef97c299ed912c2d622d5ca61eba0b1e709d8c1e.zip tk-ef97c299ed912c2d622d5ca61eba0b1e709d8c1e.tar.gz tk-ef97c299ed912c2d622d5ca61eba0b1e709d8c1e.tar.bz2 |
Removed stray @ from Makefile.in test target. [Bug 2764263]
Don't chmod+x square demo. [Bug 1945073]
Adjustable demo install location. [Patch 2764272]
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 642a5f5..f1ddf0c 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.143.2.4 2009/04/24 15:19:45 stwo Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.143.2.5 2009/04/24 15:40:06 stwo Exp $ # Current Tk version; used in various names. @@ -95,6 +95,9 @@ HTML_INSTALL_DIR = $(INSTALL_ROOT)$(HTML_DIR) # Directory in which to install the configuration file tkConfig.sh: CONFIG_INSTALL_DIR = $(INSTALL_ROOT)$(libdir) +# Directory in which to install the demo files: +DEMO_INSTALL_DIR = $(INSTALL_ROOT)$(TK_LIBRARY)/demos + # The directory containing the Tcl sources and headers appropriate # for this version of Tk ("srcdir" will be replaced or has already # been replaced by the configure script): @@ -553,7 +556,7 @@ PRIVATE_HDRS = $(GENERIC_DIR)/tkInt.h $(GENERIC_DIR)/tkIntDecls.h \ $(GENERIC_DIR)/tkIntPlatDecls.h $(GENERIC_DIR)/tkPort.h \ $(TTK_HDRS) $(@TK_WINDOWINGSYSTEM@_PRIVATE_HDRS) -DEMOPROGS = browse hello ixset rmt rolodex square tcolor timer widget +DEMOPROGS = browse hello ixset rmt rolodex tcolor timer widget SHELL_ENV = \ @LD_LIBRARY_PATH_VAR@="`pwd`:${TCL_BIN_DIR}:$${@LD_LIBRARY_PATH_VAR@}"; \ @@ -638,7 +641,6 @@ xttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE) # % make test TESTFLAGS="-verbose bps -file fileName.test" test: test-classic test-ttk - @ test-classic: tktest $(SHELL_ENV) ./tktest $(TEST_DIR)/all.tcl -geometry +0+0 $(TESTFLAGS) @@ -787,9 +789,7 @@ install-libraries: libraries done; install-demos: - @for i in "$(SCRIPT_INSTALL_DIR)" \ - "$(SCRIPT_INSTALL_DIR)"/demos \ - "$(SCRIPT_INSTALL_DIR)"/demos/images ; \ + @for i in "$(DEMO_INSTALL_DIR)" "$(DEMO_INSTALL_DIR)"/images ; \ do \ if [ ! -d "$$i" ] ; then \ echo "Making directory $$i"; \ @@ -798,23 +798,23 @@ install-demos: else true; \ fi; \ done; - @echo "Installing demos to $(SCRIPT_INSTALL_DIR)/demos/"; + @echo "Installing demos to $(DEMO_INSTALL_DIR)/"; @for i in $(TOP_DIR)/library/demos/*; \ do \ if [ -f $$i ] ; then \ sed -e '3 s|exec wish|exec wish$(VERSION)|' \ - $$i > "$(SCRIPT_INSTALL_DIR)"/demos/`basename $$i`; \ + $$i > "$(DEMO_INSTALL_DIR)"/`basename $$i`; \ fi; \ done; @for i in $(DEMOPROGS); \ do \ - chmod 755 "$(SCRIPT_INSTALL_DIR)"/demos/$$i; \ + chmod 755 "$(DEMO_INSTALL_DIR)"/$$i; \ done; @echo "Installing demo images"; @for i in $(TOP_DIR)/library/demos/images/*; \ do \ if [ -f $$i ] ; then \ - $(INSTALL_DATA) $$i "$(SCRIPT_INSTALL_DIR)"/demos/images; \ + $(INSTALL_DATA) $$i "$(DEMO_INSTALL_DIR)"/images; \ fi; \ done; |