X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Frules;h=5cff5ce2a0e59f66afb6d3230939b6a44be17085;hp=88dc61de25f67f6244f20274161e7da9acf63cdd;hb=552b2c959365de5a64fe1a314f8ad9e673a9eddb;hpb=e9e64da841daf8d3a5f9a9df55d96ec80631fb07 diff --git a/debian/rules b/debian/rules index 88dc61d..5cff5ce 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,9 @@ # Parsing of DEB_BUILD_OPTIONS flags. # Note that nostrip is handled automatically by debhelper. -CFLAGS := -g -Wall +CFLAGS := -g -Wall -DPIPEFS_DIR=\\\"/run/rpc_pipefs\\\" \ + -DGSSD_PIPEFS_DIR=\\\"/run/rpc_pipefs\\\" + ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else @@ -27,7 +29,6 @@ build-stamp: --enable-nfsv41 \ --enable-ipv6 \ --enable-libmount-mount \ - --with-libgssglue \ --with-tcp-wrappers $(MAKE) $(MAKEFLAGS) touch build-stamp @@ -53,7 +54,7 @@ binary-arch: build dh_install -Xman --fail-missing dh_installdocs -A dh_installdocs -pnfs-common debian/README.Debian.nfsv4 - install -m 0755 debian/nfs-common.init debian/nfs-common/etc/init.d/nfs-common + dh_installinit -pnfs-common -R install -m 0755 debian/nfs-kernel-server.init debian/nfs-kernel-server/etc/init.d/nfs-kernel-server install -m 0644 debian/nfs-common.bugcontrol debian/nfs-common/usr/share/bug/nfs-common/control install -m 0755 debian/nfs-common.bugscript debian/nfs-common/usr/share/bug/nfs-common/script