From: Sebastian Harl Date: Fri, 25 Jul 2008 18:26:27 +0000 (+0200) Subject: Added debian/patches/manpage_hyphen.dpatch. X-Git-Tag: cadaver-0.23.2-1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3df0d76c110792bc36a7e918b727f67cd8dcf90a;p=pkg-cadaver.git Added debian/patches/manpage_hyphen.dpatch. Replace hyphens with minus signs in the manpage. --- diff --git a/debian/changelog b/debian/changelog index eeadcdb..b83aad9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,8 +9,10 @@ cadaver (0.23.2-1) unstable; urgency=low * Removed alternate build-dependency on libxml-dev (Closes: #475552). * Remove generated .gmo-files from po/ in the "clean" target to ensure clean double-builds. + * Added debian/patches/manpage_hyphen.dpatch to replace hyphens with minus + signs in the manpage. - -- Sebastian Harl Fri, 25 Jul 2008 19:37:58 +0200 + -- Sebastian Harl Fri, 25 Jul 2008 20:21:42 +0200 cadaver (0.23.0-1) unstable; urgency=low diff --git a/debian/control b/debian/control index 2cc7f10..bec032c 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: cadaver Section: web Priority: optional Maintainer: Sebastian Harl -Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), autotools-dev, libncurses5-dev, libxml2-dev, libreadline5-dev, zlib1g-dev (>= 1:1.1.3), libneon27-gnutls-dev (>= 0.28) +Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), dpatch, autotools-dev, libncurses5-dev, libxml2-dev, libreadline5-dev, zlib1g-dev (>= 1:1.1.3), libneon27-gnutls-dev (>= 0.28) Standards-Version: 3.8.0 Homepage: http://www.webdav.org/cadaver/ Vcs-Git: git://git.tokkee.org/pkg-cadaver.git diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..cbd8881 --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1,2 @@ +manpage_hyphen.dpatch + diff --git a/debian/patches/manpage_hyphen.dpatch b/debian/patches/manpage_hyphen.dpatch new file mode 100644 index 0000000..cd03797 --- /dev/null +++ b/debian/patches/manpage_hyphen.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## manpage_hyphen.dpatch by Sebastian Harl +## +## DP: Do not use hyphens as minus signs. + +@DPATCH@ + +--- a/doc/cadaver.1 ++++ b/doc/cadaver.1 +@@ -2,7 +2,7 @@ + .SH NAME + cadaver \- A command\-line WebDAV client for Unix. + .SH SYNOPSIS +-cadaver [-et][-V][-h] http://hostname[:port]/path ++cadaver [\-et][\-V][\-h] http://hostname[:port]/path + .SH DESCRIPTION + .B cadaver + supports file upload, download, on-screen display, namespace operations diff --git a/debian/rules b/debian/rules index a7be06e..152df89 100755 --- a/debian/rules +++ b/debian/rules @@ -21,7 +21,9 @@ else CFLAGS += -O2 endif -$(BUILDDIR)/config.status: configure +include /usr/share/dpatch/dpatch.make + +$(BUILDDIR)/config.status: configure $(DPATCH_STAMPFN) dh_testdir for file in config.guess config.sub; do \ @@ -46,7 +48,7 @@ build-stamp: $(BUILDDIR)/config.status touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp