2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 # This is the debhelper compatability version to use.
11 configure
: configure-stamp
15 python2.1 config_unix.py
--prefix /usr
16 python2.1 setup.py config
20 build
: configure-stamp build-stamp
24 python2.1 setup.py build
31 rm -f build-stamp configure-stamp
33 # Add here commands to clean up after the build process.
35 -python2.1 setup.py
clean --all
46 python2.1 setup.py
install --prefix $(CURDIR
)/debian
/python-pyao
/usr
49 # Build architecture-independent files here.
50 binary-indep
: build
install
51 # We have nothing to do by default.
53 # Build architecture-dependent files here.
54 binary-arch
: build
install
59 dh_installchangelogs ChangeLog
71 binary
: binary-indep binary-arch
72 .PHONY
: build
clean binary-indep binary-arch binary
install configure