1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/packages/debian-sarge/python2.3-libxml2dom/debian/rules Sun May 27 15:52:42 2007 +0000
1.3 @@ -0,0 +1,49 @@
1.4 +#!/usr/bin/make -f
1.5 +# Sample debian/rules that uses debhelper.
1.6 +# GNU copyright 1997 to 1999 by Joey Hess.
1.7 +
1.8 +# Uncomment this to turn on verbose mode.
1.9 +#export DH_VERBOSE=1
1.10 +
1.11 +# This is the debhelper compatibility version to use.
1.12 +export DH_COMPAT=4
1.13 +
1.14 +
1.15 +
1.16 +build: build-stamp
1.17 + /usr/bin/python2.3 setup.py build
1.18 +build-stamp:
1.19 + touch build-stamp
1.20 +
1.21 +configure:
1.22 + # Do nothing
1.23 +
1.24 +clean:
1.25 + dh_testdir
1.26 + dh_testroot
1.27 + rm -f build-stamp
1.28 +
1.29 + -rm -rf build
1.30 +
1.31 + dh_clean
1.32 +
1.33 +install: build
1.34 + dh_testdir
1.35 + dh_testroot
1.36 + dh_clean -k
1.37 + /usr/bin/python2.3 setup.py install --no-compile --prefix=$(CURDIR)/debian/python2.3-libxml2dom/usr
1.38 +
1.39 +# Build architecture-independent files here.
1.40 +binary-indep: install
1.41 + dh_testdir
1.42 + dh_testroot
1.43 +
1.44 + dh_installdocs
1.45 + dh_installdeb
1.46 + dh_gencontrol
1.47 + dh_md5sums
1.48 + dh_builddeb
1.49 +# We have nothing to do by default.
1.50 +
1.51 +binary: binary-indep
1.52 +.PHONY: build clean binary-indep binary install