summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorericm <ericm>2000-02-14 22:43:32 (GMT)
committerericm <ericm>2000-02-14 22:43:32 (GMT)
commit3bd63647333cb70952f3565159c81c7e50d69fa8 (patch)
tree7bb92986616b9bff96cf1e44b657907e05aba426 /unix/Makefile.in
parent3539ffc10ed8dfe6d3cc40b16493e82511545759 (diff)
downloadtk-3bd63647333cb70952f3565159c81c7e50d69fa8.zip
tk-3bd63647333cb70952f3565159c81c7e50d69fa8.tar.gz
tk-3bd63647333cb70952f3565159c81c7e50d69fa8.tar.bz2
* unix/tk.spec: RPM specification for producing a binary Tk RPM for Linux.
* unix/Makefile.in: Added rpm target to generate Tk binary RPM.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in16
1 files changed, 15 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 10827f9..b4b3437 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.40 2000/02/10 08:53:14 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.41 2000/02/14 22:43:32 ericm Exp $
# Current Tk version; used in various names.
@@ -918,6 +918,20 @@ checkstubs:
done
+#
+# Target to create a Tk RPM for Linux. Requires that you be on a Linux
+# system.
+#
+
+rpm: all /bin/rpm
+ rm -f THIS.TCL.SPEC
+ echo "%define _builddir `pwd`" > THIS.TK.SPEC
+ echo "%define _rpmdir `pwd`/RPMS" >> THIS.TK.SPEC
+ cat tk.spec >> THIS.TK.SPEC
+ mkdir -p RPMS/i386
+ rpm -bb THIS.TK.SPEC
+ mv RPMS/i386/*.rpm .
+ rm -rf RPMS THIS.TK.SPEC
#
# Target to create a proper Tk distribution from information in the