3
# Sample debian/rules that uses debhelper.
4
# This file was originally written by Joey Hess and Craig Small.
5
# As a special exception, when this file is copied by dh-make into a
6
# dh-make output file, you may use that output file without restriction.
7
# This special exception was added by Craig Small in version 0.37 of dh-make.
9
# Uncomment this to turn on verbose mode.
12
configure: configure-stamp
19
build-stamp: configure-stamp
21
pod2man $(CURDIR)/safe-rm > $(CURDIR)/safe-rm.1
28
rm -f build-stamp configure-stamp
29
rm -f $(CURDIR)/safe-rm.1
38
cp $(CURDIR)/safe-rm $(CURDIR)/debian/safe-rm/bin/safe-rm
39
ln -s safe-rm $(CURDIR)/debian/safe-rm/bin/rm
41
cp $(CURDIR)/debian/lintian-overrides $(CURDIR)/debian/safe-rm/usr/share/lintian/overrides/safe-rm
42
cp $(CURDIR)/debian/safe-rm.conf $(CURDIR)/debian/safe-rm/etc/
44
binary-arch: build install
46
binary-indep: build install
49
dh_installchangelogs Changes
52
dh_installman safe-rm.1
64
binary: binary-indep binary-arch
65
.PHONY: build clean binary-indep binary-arch binary install configure