Code

Added debian/patches/manpage_hyphen.dpatch. cadaver-0.23.2-1
authorSebastian Harl <sh@tokkee.org>
Fri, 25 Jul 2008 18:26:27 +0000 (20:26 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 25 Jul 2008 18:26:27 +0000 (20:26 +0200)
Replace hyphens with minus signs in the manpage.

debian/changelog
debian/control
debian/patches/00list [new file with mode: 0644]
debian/patches/manpage_hyphen.dpatch [new file with mode: 0644]
debian/rules

index eeadcdb8a5feb781f27e9857697b3f26a065ba8d..b83aad949e98969ad1259d5b77aef95c8a252e68 100644 (file)
@@ -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 <sh@tokkee.org>  Fri, 25 Jul 2008 19:37:58 +0200
+ -- Sebastian Harl <sh@tokkee.org>  Fri, 25 Jul 2008 20:21:42 +0200
 
 cadaver (0.23.0-1) unstable; urgency=low
 
index 2cc7f1099b256a6df9f3529ee5982c82f2dd4dab..bec032cb691f2bfcb8a2033ed6360147e42a3123 100644 (file)
@@ -2,7 +2,7 @@ Source: cadaver
 Section: web
 Priority: optional
 Maintainer: Sebastian Harl <sh@tokkee.org>
-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 (file)
index 0000000..cbd8881
--- /dev/null
@@ -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 (file)
index 0000000..cd03797
--- /dev/null
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## manpage_hyphen.dpatch by Sebastian Harl <sh@tokkee.org>
+##
+## 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
index a7be06e479285b6063d84258aa05b6f994c824fc..152df89fed7ca0cf2143cd351ea87f663caac909 100755 (executable)
@@ -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