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 configure: configure-stamp
11 ./configure --prefix=/usr
16 build-stamp: configure-stamp
24 rm -f build-stamp configure-stamp
34 make install bindir=`pwd`/debian/mtx/bin prefix=`pwd`/debian/mtx/usr \
35 mandir=`pwd`/debian/mtx/usr/share/man
36 install -o root -g root -m 0644 debian/bash_completion \
37 debian/mtx/etc/bash_completion.d/mtx
39 # Build architecture-independent files here.
40 binary-indep: build install
42 # Build architecture-dependent files here.
43 binary-arch: build install
47 dh_installexamples contrib/*
52 dh_installchangelogs CHANGES
63 binary: binary-indep binary-arch
64 .PHONY: build clean binary-indep binary-arch binary install configure