Add Russian translation provided by Валерий Крувялис <valkru@mail.ru>
[xiph-mirror.git] / ao-python / debian / rules
blobe08a9e0fbc59f1882fd7ca39ae153718a8c4aa64
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
8 # This is the debhelper compatability version to use.
9 export DH_COMPAT=3
11 configure: configure-stamp
12 configure-stamp:
13 dh_testdir
15 python2.1 config_unix.py --prefix /usr
16 python2.1 setup.py config
18 touch configure-stamp
20 build: configure-stamp build-stamp
21 build-stamp:
22 dh_testdir
24 python2.1 setup.py build
26 touch build-stamp
28 clean:
29 dh_testdir
30 dh_testroot
31 rm -f build-stamp configure-stamp
33 # Add here commands to clean up after the build process.
34 #-$(MAKE) clean
35 -python2.1 setup.py clean --all
36 -rm Setup
38 dh_clean
40 install: build
41 dh_testdir
42 dh_testroot
43 dh_clean -k
44 dh_installdirs
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
55 dh_testdir
56 dh_testroot
57 dh_installdocs
58 dh_installexamples
59 dh_installchangelogs ChangeLog
60 dh_link
61 dh_strip
62 dh_compress
63 dh_fixperms
64 dh_makeshlibs -V
65 dh_installdeb
66 dh_shlibdeps
67 dh_gencontrol
68 dh_md5sums
69 dh_builddeb
71 binary: binary-indep binary-arch
72 .PHONY: build clean binary-indep binary-arch binary install configure