]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
include snack.py r0-20
authorewt <ewt>
Tue, 4 Nov 1997 19:00:19 +0000 (19:00 +0000)
committerewt <ewt>
Tue, 4 Nov 1997 19:00:19 +0000 (19:00 +0000)
Makefile
newt.spec

index 30ce1b43656663bb525badf80ebd3161c37fe794..0652a0e070ac7ee23d69e07100fea8026442be4c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,8 @@ includedir = $(prefix)/include
 libdir = $(prefix)/lib
 bindir = $(prefix)/bin
 ARCHNAME = $(shell uname -m | sed 's/i.86/i386/')
-pythondir = $(prefix)/lib/python1.4/linux-$(ARCHNAME)
+pythondir = $(prefix)/lib/python1.4
+pythonbindir = $(prefix)/lib/python1.4/linux-$(ARCHNAME)
 
 #--------------------------------------
 
@@ -104,8 +105,9 @@ install-sh: sharedlib whiptcl.so _snackmodule.so
        install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
        ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/libnewt.so
        install -m 755 whiptcl.so $(instroot)/$(libdir)
-       [ -d $(instroot)/$(pythondir) ] || install -m 755 -d $(instroot)/$(pythondir)
-       install -m 755 _snackmodule.so $(instroot)/$(pythondir)
+       [ -d $(instroot)/$(pythonbindir) ] || install -m 755 -d $(instroot)/$(pythonbindir)
+       install -m 755 _snackmodule.so $(instroot)/$(pythonbindir)
+       install -m 755 snack.py $(instroot)/$(pythondir)
 
 archive: 
        @cvs tag -F $(CVSTAG)
index c229e01eecb1237e5af29b608f5ff4b7bb866e89..ae1b75a5f87a01cd871e86498c0885f2ea87173f 100644 (file)
--- a/newt.spec
+++ b/newt.spec
@@ -83,6 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 /usr/lib/libnewt.so.*
 /usr/bin/whiptail
 /usr/lib/whiptcl.so
+/usr/lib/python1.4/snack.py
 /usr/lib/python1.4/linux-%{buildarch}/_snackmodule.so
 
 %files devel