public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* [Patch] Avoid install of iwidgets, tix, or tk demo files
@ 2002-08-06  0:40 Mo DeJong
  2002-08-06 11:40 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Mo DeJong @ 2002-08-06  0:40 UTC (permalink / raw)
  To: Insight

Here is a patch that skips the install of demo files. There really is no reason
to install these as part of an Insight or Source-Navigator install. This patch
makes it easier to create an RPM since there as fewer useless files to list
in the rpm spec file and it saves a couple of megs of space in the install dir.

2002-08-06  Mo Dejong  <supermo@bayarea.net>

	* iwidgets3.0.0/Makefile.in: Don't install the demos.

Index: itcl/iwidgets3.0.0/Makefile.in
===================================================================
RCS file: /cvs/src/src/itcl/iwidgets3.0.0/Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 Makefile.in
--- itcl/iwidgets3.0.0/Makefile.in	11 Jan 2002 20:18:03 -0000	1.2
+++ itcl/iwidgets3.0.0/Makefile.in	6 Aug 2002 07:34:35 -0000
@@ -180,7 +180,6 @@
 	    do \
 	    $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR); \
 	    done;
-	$(MAKE) install-demos
 
 install-demos:
 	@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR)/demos/images $(SCRIPT_INSTALL_DIR)/demos/html

2002-08-06  Mo Dejong  <supermo@bayarea.net>

	* unix/Makefile.in: Don't install the demos.

Index: tix/unix/Makefile.in
===================================================================
RCS file: /cvs/src/src/tix/unix/Makefile.in,v
retrieving revision 1.3
diff -u -r1.3 Makefile.in
--- tix/unix/Makefile.in	7 Jan 2002 09:52:42 -0000	1.3
+++ tix/unix/Makefile.in	6 Aug 2002 07:34:35 -0000
@@ -125,7 +125,7 @@
 #
 # Basic installtion
 #
-install-basic:: install-libraries install-headers install-demos \
+install-basic:: install-libraries install-headers \
 	install-man install-tools 
 
 install-tools:


2002-08-06  Mo Dejong  <supermo@bayarea.net>

	* unix/Makefile.in: Don't install the demos.

Index: tk/unix/Makefile.in
===================================================================
RCS file: /cvs/src/src/tk/unix/Makefile.in,v
retrieving revision 1.5
diff -u -r1.5 Makefile.in
--- tk/unix/Makefile.in	10 Jan 2002 20:21:26 -0000	1.5
+++ tk/unix/Makefile.in	6 Aug 2002 07:34:36 -0000
@@ -462,7 +462,7 @@
 	TK_LIBRARY=@TK_SRC_DIR@/library; export TK_LIBRARY; \
 	./tktest
 
-install: all install-binaries install-libraries install-demos install-doc
+install: all install-binaries install-libraries install-doc
 
 # Note: before running ranlib below, must cd to target directory because
 # some ranlibs write to current directory, and this might not always be

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch] Avoid install of iwidgets, tix, or tk demo files
  2002-08-06  0:40 [Patch] Avoid install of iwidgets, tix, or tk demo files Mo DeJong
@ 2002-08-06 11:40 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2002-08-06 11:40 UTC (permalink / raw)
  To: Mo DeJong; +Cc: Insight

On Tue, 6 Aug 2002, Mo DeJong wrote:

> Here is a patch that skips the install of demo files. There really is no reason
> to install these as part of an Insight or Source-Navigator install. This patch
> makes it easier to create an RPM since there as fewer useless files to list
> in the rpm spec file and it saves a couple of megs of space in the install dir.

Ummmm... I don't think this is the right way to do this. Cygwin users use 
the versions of tcl, tk, tix, etc from sources.redhat.com. This patch will 
mean that they won't get a "standard" part of these packages.

What I think is called for is a new install target which doesn't install 
"useless" stuff like this. We used to have, for example, an install target 
called "install-minimal" which would only install the DLLs and library 
files from tcl et al. I think this would be a better approach.

Keith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-06 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-06  0:40 [Patch] Avoid install of iwidgets, tix, or tk demo files Mo DeJong
2002-08-06 11:40 ` Keith Seitz

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).