From: ewt Date: Tue, 4 Nov 1997 19:00:19 +0000 (+0000) Subject: include snack.py X-Git-Tag: r0-20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0b2a7aefbbce6be6aa68ac81d9cb9acd5cceac5;p=thirdparty%2Fnewt.git include snack.py --- diff --git a/Makefile b/Makefile index 30ce1b4..0652a0e 100644 --- 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) diff --git a/newt.spec b/newt.spec index c229e01..ae1b75a 100644 --- 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