#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/python/python.mk clean: dh_testdir dh_testroot dh_clean rm -rf build rm -rf debian/pyromaths find . -name '*.py[co]' | xargs rm -f build-arch: build build-indep: build install: build dh_testdir dh_testroot dh_prep python setup.py install --root=debian/pyromaths --no-compile --install-layout=deb # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs NEWS #dh_installmenu dh_installdocs dh_install #dh_link dh_icons dh_compress -X.pdf -X.py dh_fixperms #dh_python2 -i -V '2.5-3.0' -p pyromaths -v dh_python2 dh_llxsrcinstall dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: # We have nothing to do by default. binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install