[Debpool-commits] [SCM] Debpool Project Repository branch, master, updated. 0.2.3-63-g38a32aa
ceros-guest
ceros-guest at alioth.debian.org
Tue Jun 3 07:06:59 UTC 2008
The following commit has been merged in the master branch:
commit 37cb5114c6ec2a17e16eadf9309ef68839b2dfae
Author: ceros-guest <ceros-guest>
Date: Thu Jan 10 02:00:37 2008 +0000
Autogenerate DebPool::Config manpage during build
diff --git a/debian/changelog b/debian/changelog
index cf90fc0..d76d582 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,8 @@ debpool (0.2.4~unreleased0) experimental; urgency=low
* Fixed problem where 'release_noauto' could not be overridden.
* Use $ENV{'HOME'} instead of '/home/user' for specifying home directory
through environment variable in Config.pm.
+ * Autogenerate man page for DebPool::Config.
+ * Maintain debpool man page in debian directory.
-- Andres Mejia <mcitadel at gmail.com> Tue, 08 Jan 2008 02:06:32 -0500
diff --git a/man/man1/debpool.1 b/debian/debpool.1
similarity index 100%
copy from man/man1/debpool.1
copy to debian/debpool.1
diff --git a/debian/debpool.manpages b/debian/debpool.manpages
index 1aa6218..6a1a633 100644
--- a/debian/debpool.manpages
+++ b/debian/debpool.manpages
@@ -1 +1,2 @@
-man/man*/*
+debian/tmp/DebPool::Config.5
+debian/debpool.1
diff --git a/debian/rules b/debian/rules
index d764062..ec514ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,15 @@
#! /usr/bin/make -f
-# TODO: Auto-generate DebPool::Config (with pod2man, options:
-# --section=5 --name="DebPool::Config" --center="DebPool Configuration")
-
build:
dh_testdir
+ mkdir debian/tmp
+ pod2man --name="DebPool::Config" --center="DebPool Configuration" \
+ --section=5 share/DebPool/Config.pm debian/tmp/DebPool::Config.5
+ touch build-stamp
binary-indep: build
dh_testdir
dh_testroot
-
dh_installdirs -i
dh_install -i
dh_installdocs -i
@@ -18,12 +18,9 @@ binary-indep: build
dh_installman -i
dh_installinit -i
dh_installlogrotate -i
-
dh_perl -i
-
dh_compress -i
dh_fixperms -i
-
dh_md5sums -i
dh_gencontrol -i
dh_installdeb -i
@@ -34,7 +31,7 @@ binary: binary-indep
clean:
dh_testdir
dh_testroot
-
+ [ ! -f build-stamp ] || rm build-stamp
dh_clean
.PHONY: binary binary-arch binary-indep build clean
--
Debpool Project Repository
More information about the Debpool-commits
mailing list