From ecbc42b2c06b4f16f4cb9d76ec5b6dcd9273bd83 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 12 Aug 2002 04:05:48 +0000 Subject: Build manpages in debian/tmp --- debian/echolot.manpages | 4 ++-- debian/rules | 8 ++++---- 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 -- cgit v1.2.3