[Debpool-commits] [SCM] Debpool Project Repository branch, andres-pure-perl, updated. 0.2.3-62-g6ecb6de
Andres Mejia (none)
andres at andres-laptop.
Tue Jun 3 06:56:32 UTC 2008
The following commit has been merged in the andres-pure-perl branch:
commit 6ecb6de116d09bc0aec0ba63ab8268376d9bba56
Author: Andres Mejia <andres at andres-laptop.(none)>
Date: Mon Jun 2 23:56:21 2008 -0700
Generate DebPool::Config manpage using pod2man
diff --git a/debian/debpool.manpages b/debian/debpool.manpages
deleted file mode 100644
index ce17285..0000000
--- a/debian/debpool.manpages
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/DebPool::Config.5
-man/man1/debpool.1
diff --git a/debian/rules b/debian/rules
index 7f081ce..8354a0b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,15 +14,22 @@ export PERL_MM_USE_DEFAULT=1
PERL ?= /usr/bin/perl
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
+DEBPOOL_VERSION = $(shell dpkg-parsechangelog | grep -e '^Version:' | cut -d ' ' -f 2)
build: build-stamp
build-stamp:
dh_testdir
# Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor \
- VERSION=$(shell dpkg-parsechangelog | grep -e '^Version:' | cut -d ' ' -f 2)
+ VERSION=$(DEBPOOL_VERSION)
$(MAKE)
# $(MAKE) test
+ pod2man --name="DebPool::Config" \
+ --center="DebPool Configuration" \
+ --release="debpool v$(DEBPOOL_VERSION)" \
+ --section=5 \
+ lib/DebPool/Config.pm \
+ DebPool::Config.5
touch $@
clean:
@@ -30,10 +37,11 @@ clean:
dh_testroot
dh_clean build-stamp install-stamp
# Add commands to clean up after the build process here
+ rm -f DebPool::Config.5
[ ! -f Makefile ] || $(MAKE) realclean
-install: install-stamp
-install-stamp: build-stamp
+install: build install-stamp
+install-stamp:
dh_testdir
dh_testroot
dh_clean -k
@@ -54,6 +62,7 @@ binary-indep: build install
dh_testroot
dh_installexamples examples/*
dh_installdocs
+ dh_installman DebPool::Config.5
dh_installchangelogs
dh_perl
dh_compress
--
Debpool Project Repository
More information about the Debpool-commits
mailing list