[Debpool-commits] [SCM] Debpool Project Repository branch, master, updated. 0.2.3-65-g081f0cc

Andres Mejia (none) andres at andres-laptop.
Tue Jun 3 07:36:43 UTC 2008


The following commit has been merged in the master branch:
commit 081f0cc83b5a5fac6a06b57762cbf47f6ddeb78d
Author: Andres Mejia <andres at andres-laptop.(none)>
Date:   Tue Jun 3 00:36:34 2008 -0700

    Use pod2man to generate manpages

diff --git a/Makefile.PL b/Makefile.PL
index 7c0a4c9..65ec089 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,6 +5,7 @@ use ExtUtils::MakeMaker;
 WriteMakefile(
     NAME              => 'DebPool',
     EXE_FILES         => [qw(bin/debpool)],
+    INSTALLMAN1DIR    => 'none',
     INSTALLMAN3DIR    => 'none',
     PREREQ_PM         => {}, # e.g., Module::Name => 1.1
     ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
diff --git a/debian/changelog b/debian/changelog
index b890b6f..36cb8b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -97,7 +97,7 @@ debpool (0.3.2) experimental; urgency=low
   * Added a test script to begin changing debpool into a pure Perl program.
   * Change AUTHOR field of Makefile.PL to Debpool Developer's mailing list.
   * Supply VERSION field when building package based on changelog.
-  * Install DebPool::Config manpage in section 5.
+  * Use pod2man to generate manpages.
   * Change AUTHOR field in manpages to Debpool Developer's mailing list.
 
  -- Andres Mejia <mcitadel at gmail.com>  Mon, 02 Jun 2008 22:54:17 -0700
diff --git a/debian/rules b/debian/rules
index 40cced9..a37e85f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,12 @@ build-stamp:
 		--section=5 \
 		lib/DebPool/Config.pm \
 		DebPool::Config.5
+	pod2man --name="debpool" \
+		--center="debpool" \
+		--release="debpool v$(DEBPOOL_VERSION)" \
+		--section=1 \
+		bin/debpool \
+		debpool.1
 	touch $@
 
 clean:
@@ -37,7 +43,7 @@ clean:
 	dh_testroot
 	dh_clean build-stamp install-stamp
 	# Add commands to clean up after the build process here
-	rm -f DebPool::Config.5
+	rm -f DebPool::Config.5 debpool.1
 	[ ! -f Makefile ] || $(MAKE) realclean
 
 install: build install-stamp
@@ -62,7 +68,7 @@ binary-indep: build install
 	dh_testroot
 	dh_installexamples examples/*
 	dh_installdocs
-	dh_installman DebPool::Config.5
+	dh_installman DebPool::Config.5 debpool.1
 	dh_installchangelogs
 	dh_installinit
 	dh_installlogrotate

-- 
Debpool Project Repository



More information about the Debpool-commits mailing list