paulb@44 | 1 | #!/usr/bin/make -f |
paulb@44 | 2 | # Sample debian/rules that uses debhelper. |
paulb@44 | 3 | # GNU copyright 1997 to 1999 by Joey Hess. |
paulb@44 | 4 | |
paulb@44 | 5 | # Uncomment this to turn on verbose mode. |
paulb@44 | 6 | #export DH_VERBOSE=1 |
paulb@44 | 7 | |
paulb@44 | 8 | # This is the debhelper compatibility version to use. |
paulb@44 | 9 | export DH_COMPAT=4 |
paulb@44 | 10 | |
paulb@44 | 11 | |
paulb@44 | 12 | |
paulb@44 | 13 | build: build-stamp |
paulb@44 | 14 | /usr/bin/python2.4 setup.py build |
paulb@44 | 15 | build-stamp: |
paulb@44 | 16 | touch build-stamp |
paulb@44 | 17 | |
paulb@44 | 18 | configure: |
paulb@44 | 19 | # Do nothing |
paulb@44 | 20 | |
paulb@44 | 21 | clean: |
paulb@44 | 22 | dh_testdir |
paulb@44 | 23 | dh_testroot |
paulb@44 | 24 | rm -f build-stamp |
paulb@44 | 25 | |
paulb@44 | 26 | -rm -rf build |
paulb@44 | 27 | |
paulb@44 | 28 | dh_clean |
paulb@44 | 29 | |
paulb@44 | 30 | install: build |
paulb@44 | 31 | dh_testdir |
paulb@44 | 32 | dh_testroot |
paulb@44 | 33 | dh_clean -k |
paulb@44 | 34 | /usr/bin/python2.4 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.4-parallel-pprocess/usr |
paulb@44 | 35 | |
paulb@44 | 36 | # Build architecture-independent files here. |
paulb@44 | 37 | binary-indep: install |
paulb@62 | 38 | tools/apidocs.sh |
paulb@44 | 39 | dh_testdir |
paulb@44 | 40 | dh_testroot |
paulb@44 | 41 | |
paulb@44 | 42 | dh_installdocs |
paulb@44 | 43 | dh_installdeb |
paulb@44 | 44 | dh_gencontrol |
paulb@44 | 45 | dh_md5sums |
paulb@44 | 46 | dh_builddeb |
paulb@44 | 47 | # We have nothing to do by default. |
paulb@44 | 48 | |
paulb@44 | 49 | binary: binary-indep |
paulb@44 | 50 | .PHONY: build clean binary-indep binary install |