- # Add here commands to install the files into debian/tmp
- $(MAKE) install_prefix='$(DEBTMP)' install
- dh_movefiles
- # Fixups Start Here #
- cd debian && \
- for f in lockd statd showmount; do \
- mv tmp/usr/sbin/*$$f nfs-common/sbin; \
- perl -pi -e "s#/usr(/sbin/(rpc\\.)?$$f)#\$$1#g" \
- nfs-common/usr/share/man/man8/$$f.8; \
- done; \
- rm -f tmp/usr/sbin/*quota*; \
- rm -f tmp/usr/share/man/man8/*quota*; \
- rm -rf tmp/var/lib/nfs/*; \
- cp --preserve=timestamps etc.exports tmp/etc/exports
- # Fixups End Here #
+
+ # Fix up the manpages
+ for f in lockd statd showmount; do \
+ perl -pi -e "s#/usr(/sbin/(rpc\\.)?$$f)#\$$1#g" \
+ debian/tmp/usr/share/man/man8/$$f.8; \
+ done;
+