r7902 - in /trunk/libmail-box-perl/debian: changelog fix-manpage-special-chars.sh lintian_overrides rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sun Sep 23 10:15:23 UTC 2007
Author: dmn
Date: Sun Sep 23 10:15:23 2007
New Revision: 7902
URL: http://svn.debian.org/wsvn/?sc=1&rev=7902
Log:
* Added a short script to translate special chars in man pages to groff
escapes after $(MAKE). Elliminates an overriden lintian warning.
Added:
trunk/libmail-box-perl/debian/fix-manpage-special-chars.sh
Removed:
trunk/libmail-box-perl/debian/lintian_overrides
Modified:
trunk/libmail-box-perl/debian/changelog
trunk/libmail-box-perl/debian/rules
Modified: trunk/libmail-box-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libmail-box-perl/debian/changelog?rev=7902&op=diff
==============================================================================
--- trunk/libmail-box-perl/debian/changelog (original)
+++ trunk/libmail-box-perl/debian/changelog Sun Sep 23 10:15:23 2007
@@ -6,8 +6,10 @@
* Added 02_fix_man_page_width_errors.patch, fixing un-splittable lines in
two PODs
* Added myself to uploaders
-
- -- Damyan Ivanov <dmn at debian.org> Sun, 23 Sep 2007 11:59:53 +0300
+ * Added a short script to translate special chars in man pages to groff
+ escapes after $(MAKE). Elliminates an overriden lintian warning.
+
+ -- Damyan Ivanov <dmn at debian.org> Sun, 23 Sep 2007 13:14:20 +0300
libmail-box-perl (2.073-1) unstable; urgency=low
Added: trunk/libmail-box-perl/debian/fix-manpage-special-chars.sh
URL: http://svn.debian.org/wsvn/trunk/libmail-box-perl/debian/fix-manpage-special-chars.sh?rev=7902&op=file
==============================================================================
--- trunk/libmail-box-perl/debian/fix-manpage-special-chars.sh (added)
+++ trunk/libmail-box-perl/debian/fix-manpage-special-chars.sh Sun Sep 23 10:15:23 2007
@@ -1,0 +1,7 @@
+#!bin/sh
+
+set -e
+set -u
+
+sed -i -e 's/\xE4/\\[:a]/g; s/\xF6/\\[:o]/g' \
+ blib/man3/Mail::Message::Field.3pm
Modified: trunk/libmail-box-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libmail-box-perl/debian/rules?rev=7902&op=diff
==============================================================================
--- trunk/libmail-box-perl/debian/rules (original)
+++ trunk/libmail-box-perl/debian/rules Sun Sep 23 10:15:23 2007
@@ -9,15 +9,18 @@
PERL ?= /usr/bin/perl
configure: configure-stamp
-configure-stamp: patch
+configure-stamp:
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
touch configure-stamp
-build: build-stamp
+build: patch build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE) OPTIMIZE="-O2 -g -Wall"
+
+ # convert 8-bit chars to groff escapes
+ sh debian/fix-manpage-special-chars.sh
$(MAKE) test
touch build-stamp
@@ -36,8 +39,6 @@
dh_clean -k
dh_installdirs
$(MAKE) install PREFIX=$(CURDIR)/debian/libmail-box-perl/usr
- install -d $(CURDIR)/debian/$(PACKAGE)/usr/share/lintian/overrides
- install -m 644 debian/lintian_overrides $(CURDIR)/debian/$(PACKAGE)/usr/share/lintian/overrides/$(PACKAGE)
# This package install a spurious Makefile.PL in /usr/share/perl5/Mail
# ... Just kill it. Of course, inform upstream - When it is gone,
# we'll have to remove this couple of lines.
More information about the Pkg-perl-cvs-commits
mailing list