3 # Sample debian/rules that uses debhelper.
4 # GNU copyright 1997 to 1999 by Joey Hess.
6 # Uncomment this to turn on verbose mode.
14 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
19 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
23 configure: configure-stamp
26 # Add here commands to configure the package.
28 ./configure --prefix=/usr # --enable-stdout --enable-debug
34 build-stamp: configure-stamp
37 # Add here commands to compile the package.
39 #/usr/bin/docbook-to-man debian/maemo-recorder.sgml > maemo-recorder.1
46 rm -f build-stamp configure-stamp
48 # Add here commands to clean up after the build process.
59 # Add here commands to install the package into debian/maemo-recorder.
60 $(MAKE) install DESTDIR=$(CURDIR)/debian/maemo-recorder
63 # Build architecture-independent files here.
64 binary-indep: build install
65 # We have nothing to do by default.
67 # Build architecture-dependent files here.
68 binary-arch: build install
98 binary: binary-indep binary-arch
99 .PHONY: build clean binary-indep binary-arch binary install configure