From e8a28a779553ea33987998afa5b29eb2ea4eee02 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 28 Jan 2008 20:55:39 +0000 Subject: Initial packaging for 0.6-1. --- debian/rules | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 0d9315f..3f77918 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,10 @@ # This has to be exported to make some magic below work. export DH_OPTIONS +# Used only for the man page. +VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 \ + | cut -d- -f1) + # Tell Autoconf the correct system types. We need to know the host # architecture to determine whether setpag is available. DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) @@ -60,6 +64,9 @@ install: build-stamp DH_OPTIONS= dh_install --fail-missing install -m 0644 config/keytab.acl \ $(CURDIR)/debian/keytab-backend/etc/remctl/acl/keytab + pod2man --section=8 --release=$(VERSION) --center="System Commands" \ + contrib/wallet-report \ + > $(CURDIR)/debian/wallet-server/usr/share/man/man8/wallet-report.8 binary: binary-arch binary-indep -- cgit v1.2.3