summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/echolot.manpages4
-rwxr-xr-xdebian/rules8
2 files changed, 6 insertions, 6 deletions
diff --git a/debian/echolot.manpages b/debian/echolot.manpages
index f1c1209..b1e3d4a 100644
--- a/debian/echolot.manpages
+++ b/debian/echolot.manpages
@@ -1,2 +1,2 @@
-doc/pingd.1
-doc/pingd.conf.5
+debian/tmp/pingd.1
+debian/tmp/pingd.conf.5
diff --git a/debian/rules b/debian/rules
index 0343f21..8d862e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,8 +20,9 @@ endif
build: build-stamp
build-stamp:
- pod2man --section=1 --release="$(version)" --center=Echolot pingd doc/pingd.1
- pod2man --section=5 --release="$(version)" --center=Echolot doc/pingd.conf.pod doc/pingd.conf.5
+ mkdir debian/tmp
+ pod2man --section=1 --release="$(version)" --center=Echolot pingd debian/tmp/pingd.1
+ pod2man --section=5 --release="$(version)" --center=Echolot doc/pingd.conf.pod debian/tmp/pingd.conf.5
sed -e "s/REMAILER_LIST/$(REMAILERS)/" < debian/echolot.postinst.in > debian/echolot.postinst
touch build-stamp
@@ -30,9 +31,8 @@ clean:
dh_testroot
rm -f build-stamp
- rm -f doc/pingd.1
- rm -f doc/pingd.conf.5
rm -f debian/echolot.postinst
+ rm -rf debian/tmp
dh_clean