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 ./configure --prefix=/usr
19 build-stamp: configure-stamp
27 rm -f build-stamp configure-stamp
37 make install bindir=`pwd`/debian/mtx/bin prefix=`pwd`/debian/mtx/usr \
38 mandir=`pwd`/debian/mtx/usr/share/man
39 install -o root -g root -m 0644 debian/bash_completion \
40 debian/mtx/etc/bash_completion.d/mtx
42 # Build architecture-independent files here.
43 binary-indep: build install
45 # Build architecture-dependent files here.
46 binary-arch: build install
50 dh_installexamples contrib/*
55 dh_installchangelogs CHANGES
66 binary: binary-indep binary-arch
67 .PHONY: build clean binary-indep binary-arch binary install configure