[Pkg-xen-devel] Bug#394931: xen-utils-3.0.3-1: Manpages not included

Chad Walstrom ccw at umn.edu
Mon Oct 23 23:54:30 CEST 2006


Package: xen-utils-3.0.3-1
Version: 3.0.3-0-1
Severity: normal
Tags: patch

Manpages that are provided with the source are not included with the utilities.
Use perl-doc package at build-time to generate appropriate manpages and
dh_manpages to install them in the appropriate locations.

diff -urN xen-3.0-3.0.3-0/debian/control xen-3.0-3.0.3-0.new/debian/control
--- xen-3.0-3.0.3-0/debian/control	2006-10-23 16:45:06.000000000 -0500
+++ xen-3.0-3.0.3-0.new/debian/control	2006-10-23 16:33:50.036667796 -0500
@@ -4,7 +4,7 @@
 Maintainer: Debian Xen Team <pkg-xen-devel at lists.alioth.debian.org>
 Uploaders: Julien Danjou <acid at debian.org>, Jeremy T. Bouse <jbouse at debian.org>, Guido Trotter <ultrotter at debian.org>, Bastian Blank <waldi at debian.org>
 Standards-Version: 3.7.2.0
-Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3), libsdl1.2-dev, bcc, dpatch, lsb-release, python-central (>= 0.5), linux-support-2.6.18-1
+Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.3), libsdl1.2-dev, bcc, dpatch, lsb-release, python-central (>= 0.5), linux-support-2.6.18-1, perl-doc
 Build-Depends-Indep: transfig, tetex-bin, tetex-extra, gs-common
 XS-Python-Version: current
 
diff -urN xen-3.0-3.0.3-0/debian/rules.real xen-3.0-3.0.3-0.new/debian/rules.real
--- xen-3.0-3.0.3-0/debian/rules.real	2006-10-23 16:45:06.000000000 -0500
+++ xen-3.0-3.0.3-0.new/debian/rules.real	2006-10-23 16:44:45.528956410 -0500
@@ -56,6 +56,9 @@
 $(STAMPS_DIR)/build-utils_$(ARCH): DIR=$(BUILD_DIR)/build-utils_$(ARCH)
 $(STAMPS_DIR)/build-utils_$(ARCH): $(STAMPS_DIR)/setup-utils_$(ARCH)
 	$(MAKE) -C $(DIR)/tools XEN_COMPILE_ARCH=$(XEN_ARCH) XEN_TARGET_ARCH=$(XEN_ARCH) XEN_VERSION=$(VERSION)$(ABINAME)
+	pod2man $(DIR)/docs/man/xend-config.sxp.pod.5 $(DIR)/docs/man/xend-config.sxp.5 \
+		$(DIR)/docs/man/xm.pod.1 $(DIR)/docs/man/xm.1 \
+		$(DIR)/docs/man/xmdomain.cfg.pod.5 $(DIR)/docs/man/xmdomain.cfg.5
 	touch $@
 
 install-base:
@@ -96,6 +99,9 @@
 install-utils_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME_UTILS) -p$(PACKAGE_NAME_IOEMU)
 install-utils_$(ARCH): $(STAMPS_DIR)/build-utils_$(ARCH)
 	dh_testdir
+	dh_installman $(DIR)/docs/man/xend-config.sxp.5 \
+		$(DIR)/docs/man/xm.1 \
+		$(DIR)/docs/man/xmdomain.cfg.5
 	dh_testroot
 	dh_clean -k
 	install -D -m644 debian/xen-utils.NEWS debian/$(PACKAGE_NAME_UTILS)/usr/share/doc/$(PACKAGE_NAME_UTILS)/NEWS

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-xen-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)




More information about the Pkg-xen-devel mailing list