This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[Patch] Avoid install of iwidgets, tix, or tk demo files
- From: Mo DeJong <supermo at bayarea dot net>
- To: Insight <insight at sources dot redhat dot com>
- Date: Tue, 06 Aug 2002 00:40:42 -0700
- Subject: [Patch] Avoid install of iwidgets, tix, or tk demo files
- Organization: House of Mirth
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