From mboxrd@z Thu Jan 1 00:00:00 1970 From: Syd Polk To: insight@sourceware.cygnus.com Subject: [NOTE] libgui no longer tries to rebuild tclIndex by default Date: Wed, 12 Jul 2000 17:02:00 -0000 Message-id: <4.2.0.58.20000712165923.01a37330@pop.cygnus.com> X-SW-Source: 2000-q3/msg00060.html This patch makes sure that libgui/library/tclIndex only gets rebuilt when you are configured with --enable-maintainer-mode. Doing this assumes that you have the correct version of itcl in your build tree (for natives) or on your path (for cross-compiles). ChangeLog: 2000-07-12 Syd Polk * library/Makefile.am: Only regenerate tclIndex and pkgIndex.tcl if this is configured with --enable-maintainer-mode. Patch: Index: library/Makefile.am =================================================================== RCS file: /cvs/src/src/libgui/library/Makefile.am,v retrieving revision 1.3 diff -c -3 -p -r1.3 Makefile.am *** Makefile.am 2000/07/11 09:14:25 1.3 --- Makefile.am 2000/07/12 23:55:03 *************** endif *** 26,47 **** WISH = wish if CROSS_COMPILING ! ITCL_SH = itclsh else ! ITCL_SH = $$here/../../itcl/itcl/@ITCL_DIR@/itclsh$(EXEEXT) endif tclIndex: $(TCL) TCL_LIBRARY=$(srcdir)/../../tcl/library; export TCL_LIBRARY; \ here=`pwd`; \ $(SET_LIB_PATH) \ cd $(srcdir) && \ ! echo "auto_mkindex $(LIBGUI_LIBRARY_DIR) $(TCL)" | @ITCL_SH@ pkgIndex.tcl: @MAINT@ $(PACKAGES) here=`pwd`; \ $(SET_LIB_PATH) \ cd $(srcdir) && \ ! echo "pkg_mkIndex . $(PACKAGES); exit" | @ITCL_SH@ ETAGS_ARGS = --lang=none --regex='/[ \t]*\(proc\|method\|itcl_class\)[ \t]+\([^ \t]+\)/\1/' $(TCL) --lang=auto --- 26,54 ---- WISH = wish if CROSS_COMPILING ! ITCL_SH = itclsh3.0 else ! ITCL_SH = @ITCL_SH@ endif + if MAINTAINER_MODE tclIndex: $(TCL) TCL_LIBRARY=$(srcdir)/../../tcl/library; export TCL_LIBRARY; \ here=`pwd`; \ $(SET_LIB_PATH) \ cd $(srcdir) && \ ! echo "auto_mkindex $(LIBGUI_LIBRARY_DIR) $(TCL)" | $(ITCL_SH) pkgIndex.tcl: @MAINT@ $(PACKAGES) here=`pwd`; \ $(SET_LIB_PATH) \ cd $(srcdir) && \ ! echo "pkg_mkIndex . $(PACKAGES); exit" | $(ITCL_SH) ! else ! tclIndex: ! ! pkgIndex.tcl: ! ! endif ETAGS_ARGS = --lang=none --regex='/[ \t]*\(proc\|method\|itcl_class\)[ \t]+\([^ \t]+\)/\1/' $(TCL) --lang=auto Syd Polk spolk@redhat.com Engineering Manager +1 415 777 9810 x 241 Red Hat, Inc.