summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Radici <antonio@debian.org>2014-10-24 21:45:14 +0000
committerAntonio Radici <antonio@debian.org>2014-10-24 21:45:14 +0000
commit1c68e7bf841caa18bed7fedf37455fc030add630 (patch)
treefe34f5750b1d26bf732ee2d09c8ad7a220d539b3
parent24cc920a6a06017852394947b604ffa01a340ace (diff)
manual installation override in rules
-rwxr-xr-xdebian/rules18
1 files changed, 12 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules
index c81bbed..5158d25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,18 @@
#!/usr/bin/make -f
%:
dh $@ --with quilt
+
+override_dh_installman
+ mkdir -p $(CURDIR)/debian/postgrey/usr/share/man/man8/
+ mkdir -p $(CURDIR)/debian/postgrey/usr/share/man/man1/
+ pod2man --section=8 postgrey \
+ > $(CURDIR)/debian/postgrey/usr/share/man/man8/postgrey.8
+ pod2man --section=8 policy-test \
+ > $(CURDIR)/debian/postgrey/usr/share/man/man8/policy-test.8
+ pod2man --section=1 contrib/postgreyreport \
+ > $(CURDIR)/debian/postgrey/usr/share/man/man1/postgreyreport.1
+
+
#
## dh_make-originated rules file
## ©2004,2005 Adrian von Bidder
@@ -50,12 +62,6 @@
# mkdir -p $(BASE)/usr/share/man/man1
# mkdir -p $(BASE)/usr/share/man/man8
#
-# pod2man --section=8 postgrey > $(BASE)/usr/share/man/man8/postgrey.8
-# pod2man --section=8 policy-test \
-# > $(BASE)/usr/share/man/man8/policy-test.8
-# pod2man --section=1 contrib/postgreyreport \
-# > $(BASE)/usr/share/man/man1/postgreyreport.1
-#
## Build architecture-dependent files here.
#binary-arch: build install
## arch:all package!