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.
33 build-stamp: configure-stamp
36 # Add here commands to compile the package.
38 #/usr/bin/docbook-to-man debian/libnss-afs.sgml > libnss-afs.1
45 rm -f build-stamp configure-stamp
47 # Add here commands to clean up after the build process.
58 # Add here commands to install the package into debian/libnss-afs.
59 mkdir -p $(CURDIR)/debian/libnss-afs
60 $(MAKE) install DESTDIR=$(CURDIR)/debian/libnss-afs
61 #install -m 644 default $(CURDIR)/debian/libnss-afs/etc/default/afsnssd
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
74 #dh_installinit -- start 52 S . stop 33 0 6 .
86 binary: binary-indep binary-arch
87 .PHONY: build clean binary-indep binary-arch binary install configure