This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[NOTE] libgui no longer tries to rebuild tclIndex by default


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  <spolk@redhat.com>
	* 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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]