WebStack

packages/ubuntu-feisty/python-webstack/debian/rules

723:5b11cdfca380
2007-10-27 paulb [project @ 2007-10-27 22:38:58 by paulb] Updated release notes (headers).
     1 #!/usr/bin/make -f     2 # A debian/rules file using python-central.     3      4 # Uncomment this to turn on verbose mode.     5 #export DH_VERBOSE=1     6      7 export DH_COMPAT=5     8      9 PYVERS=$(shell pyversions -vr)    10     11 build: build-stamp    12     13 build-stamp: $(PYVERS:%=build-python%) build-python-scripts    14 	touch $@    15     16 build-python%:    17 	python$* setup.py build_py    18 	touch $@    19     20 build-python-scripts:    21 	python setup.py build_scripts    22 	touch $@    23     24 clean:    25 	dh_testdir    26 	dh_testroot    27 	rm -f *-stamp    28 	rm -rf build    29 	find . -name '*.py[co]' | xargs rm -f    30 	dh_clean    31     32 install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts    33 	# Script fixing would appear here.    34     35 install-prereq:    36 	dh_testdir    37 	dh_testroot    38 	dh_clean -k    39     40 install-python%:    41 	python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-webstack/usr/lib/python$*/site-packages    42     43 install-python-scripts:    44 	python setup.py install_scripts --install-dir $(CURDIR)/debian/python-webstack/usr/bin    45     46 # Build architecture-independent files here.    47     48 binary-indep: install    49 	tools/apidocs.sh    50 	dh_testdir -i    51 	dh_testroot -i    52 	dh_pycentral -i    53 	dh_installdocs -i    54 	dh_fixperms -i    55 	dh_installdeb -i    56 	dh_gencontrol -i    57 	dh_md5sums -i    58 	dh_builddeb -i    59     60 # Build architecture-dependent files here.    61     62 binary-arch:    63 	# Empty rule for this package.    64     65 binary: binary-indep binary-arch    66 .PHONY: build clean binary-arch binary-indep binary install