summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-08-12 04:05:48 +0000
committerPeter Palfrader <peter@palfrader.org>2002-08-12 04:05:48 +0000
commitecbc42b2c06b4f16f4cb9d76ec5b6dcd9273bd83 (patch)
treebb9a68b51beaeee679b52064c2b70a7772ce885b
parenta6481b7e4f2e0e4c254cd1dd1328a9400b5b274b (diff)
Build manpages in debian/tmp
-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