public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Syd Polk <spolk@redhat.com>
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	[thread overview]
Message-ID: <4.2.0.58.20000712165923.01a37330@pop.cygnus.com> (raw)

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.



                 reply	other threads:[~2000-07-12 17:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.2.0.58.20000712165923.01a37330@pop.cygnus.com \
    --to=spolk@redhat.com \
    --cc=insight@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).