WebStack

Annotated packages/ubuntu-hoary/python2.4-webstack/debian/rules

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