1 --- newt-0.52.10/Makefile.in.orig 2008-08-19 20:45:13.753250367 +0200
2 +++ newt-0.52.10/Makefile.in 2008-08-19 20:45:13.817251205 +0200
5 PYTHONVERS = @PYTHONVERS@
6 WHIPTCLSO = @WHIPTCLSO@
7 +SNACKSO = _snackmodule.so
9 PROGS = test whiptail $(WHIPTCLSO) testgrid testtree showchars showkey
10 TESTOBJS = test.o testgrid.o testtree.o showchars.o showkey.o
12 TARGET=depend $(PROGS)
15 -all: $(TARGET) _snackmodule.so
16 +all: $(TARGET) $(SNACKSO)
18 test: test.o $(LIBNEWT)
19 $(CC) -g -o test test.o $(LIBNEWT) $(LIBS)
21 install -m 644 whiptail.1 $(instroot)/$(man1dir)
22 make -C po datadir=$(instroot)/$(datadir) install
24 -install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
25 +install-sh: sharedlib $(WHIPTCLSO) $(SNACKSO)
26 [ -d $(instroot)/$(libdir) ] || install -m 755 -d $(instroot)/$(libdir)
27 install -m 755 $(LIBNEWTSH) $(instroot)/$(libdir)
28 ln -sf $(LIBNEWTSONAME) $(instroot)/$(libdir)/libnewt.so
29 ln -sf $(LIBNEWTSH) $(instroot)/$(libdir)/$(LIBNEWTSONAME)
30 [ -n "$(WHIPTCLSO)" ] && install -m 755 whiptcl.so $(instroot)/$(libdir) || :
31 - for ver in $(PYTHONVERS) ; do \
32 + [ -z "$(SNACKSO)" ] || for ver in $(PYTHONVERS) ; do \
33 [ -d $(instroot)/$(libdir)/$$ver/site-packages ] || install -m 755 -d $(instroot)/$(libdir)/$$ver/site-packages ;\
34 install -m 755 $$ver/_snackmodule.so $(instroot)/$(libdir)/$$ver/site-packages ;\
35 install -m 644 snack.py $(instroot)/$(libdir)/$$ver/site-packages ;\