* [NOTE] libgui no longer tries to rebuild tclIndex by default
@ 2000-07-12 17:02 Syd Polk
0 siblings, 0 replies; only message in thread
From: Syd Polk @ 2000-07-12 17:02 UTC (permalink / raw)
To: insight
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-07-12 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-12 17:02 [NOTE] libgui no longer tries to rebuild tclIndex by default Syd Polk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).