3 # Sample debian/rules that uses debhelper.
4 # GNU copyright 1997 to 1999 by Joey Hess.
6 # Uncomment this to turn on verbose mode.
12 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
17 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
21 configure: configure-stamp
23 test -e ./configure || ./autogen.sh
25 # Add here commands to configure the package.
26 CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --disable-static
32 build-stamp: configure-stamp
35 # Add here commands to compile the package.
43 rm -f build-stamp configure-stamp
45 # Add here commands to clean up after the build process.
56 # Add here commands to install the package
57 $(MAKE) install DESTDIR=$(CURDIR)/debian/stopish
59 # Build architecture-independent files here.
60 binary-indep: build install
61 # We have nothing to do by default.
63 # Build architecture-dependent files here.
64 binary-arch: build install
93 binary: binary-indep binary-arch
94 .PHONY: build clean binary-indep binary-arch binary install configure