#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYTHONS := $(shell pyversions -r debian/control) build: build-stamp build-stamp: dh_testdir for python in $(PYTHONS) ; do \ $$python setup.py build; \ done touch build-stamp clean: dh_testdir dh_testroot python setup.py clean [ ! -d build ] || rm -rf build dh_clean build-stamp install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/python-daap. for python in ${PYTHONS}; \ do \ $$python setup.py install --root=$(CURDIR)/debian/python-daap --install-layout=deb; \ done; # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs CHANGELOG dh_installdocs README dh_installexamples examples/* dh_link dh_strip dh_compress -X.py dh_fixperms dh_python2 dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install