3
PYVERS=$(shell pyversions -vr)
5
build-%/configure-stamp:
8
cd build-$* && PYTHON=/usr/bin/python$* $(CURDIR)/configure \
9
--prefix=/usr --mandir=\$${prefix}/share/man
12
build: $(PYVERS:%=build-%/build-stamp)
13
build-%/build-stamp: build-%/configure-stamp
21
rm -f build-stamp configure-stamp
23
# Add here commands to clean up after the build process.
24
[ ! -f Makefile ] || $(MAKE) distclean
28
install: build install-clean $(PYVERS:%=install-arch-%) $(PYVERS:%=install-indep-%)
36
$(MAKE) -C build-$* install DESTDIR=$(CURDIR)/debian/tmp
37
# move installed files to a per python runtime location to allow
38
# comparison of the resulting files across runtimes or shipping
41
# pkg-config file (this is shipped twice because of varying pyexecdir)
42
mkdir -p debian/tmp/usr/lib/pkgconfig/python$*
43
mv build-$*/pywebkitgtk-1.0.pc debian/tmp/usr/lib/pkgconfig/python$*
54
binary-arch: build install
55
# Build architecture-dependent files here.
59
dh_installchangelogs -a NEWS
73
binary: binary-arch binary-indep
74
.PHONY: build clean binary-indep binary-arch binary install configure