2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 # This is the debhelper compatability version to use.
11 configure: configure-stamp
14 # Add here commands to configure the package.
16 ./autogen.sh --prefix=/usr
20 build: configure-stamp build-stamp
24 # Add here commands to compile the package.
32 rm -f build-stamp configure-stamp
34 # Add here commands to clean up after the build process.
45 # Add here commands to install the package into debian/tmp.
46 $(MAKE) install DESTDIR=`pwd`/debian/tmp
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
59 # build libvorbis${major} package by moving files from vorbis-dev
61 # dh_movefiles -plibvorbis$(major) \
62 # usr/lib/libvorbis.so.$(major) \
63 # usr/lib/libvorbis.so.$(version)
68 dh_installdocs doc/*.html doc/*.txt doc/*.png doc/vorbisfile/*.html
83 # You may want to make some executables suid here.
93 binary: binary-indep binary-arch
94 .PHONY: build clean binary-indep binary-arch binary install configure