summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
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