Add patch man.patch to fix manpage name and section; add quilt
authorgregor herrmann <gregoa@debian.org>
Wed, 5 Mar 2008 16:09:55 +0000 (16:09 -0000)
committergregor herrmann <gregoa@debian.org>
Wed, 5 Mar 2008 16:09:55 +0000 (16:09 -0000)
  framework.

debian/changelog
debian/control
debian/patches/man.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules

index 4122119975d69154fc9a6a7bd5244acbf67f72a2..b951dc9249515ee14fc683781948336f947feb36 100644 (file)
@@ -14,8 +14,10 @@ cdck (0.7.0-1) UNRELEASED; urgency=low
   * Set debhelper compatibility level to 6.
   * debian/copyright: update years of copyright.
   * Add NEWS.Debian to inform users about the new default behaviour.
+  * Add patch man.patch to fix manpage name and section; add quilt
+    framework.
 
- -- gregor herrmann <gregor+debian@comodo.priv.at>  Wed, 05 Mar 2008 17:03:34 +0100
+ -- gregor herrmann <gregor+debian@comodo.priv.at>  Wed, 05 Mar 2008 17:09:25 +0100
 
 cdck (0.6.0-1) unstable; urgency=low
 
index 93912a6e3e3ae04b8ba60febadabca11c40be11f..ee1d555d1c19b151087193d4dfb7b1216b892246 100644 (file)
@@ -3,7 +3,7 @@ Section: utils
 Priority: optional
 Maintainer: gregor herrmann <gregor+debian@comodo.priv.at>
 Uploaders: tony mancill <tmancill@debian.org>
-Build-Depends: debhelper (>= 6), autotools-dev
+Build-Depends: debhelper (>= 6), autotools-dev, quilt
 Standards-Version: 3.7.3
 Homepage: http://swaj.net/unix/index.html#cdck
 Vcs-Svn: http://svn.toastfreeware.priv.at/debian/cdck/trunk/
diff --git a/debian/patches/man.patch b/debian/patches/man.patch
new file mode 100644 (file)
index 0000000..3e3534f
--- /dev/null
@@ -0,0 +1,22 @@
+--- cdck.orig/man/Makefile.in
++++ cdck/man/Makefile.in
+@@ -288,7 +288,7 @@
+ cdck.1:
+-      pod2man --section=cdck.1 --verbose cdck_man.in > cdck.1
++      pod2man --section=1 --verbose --name=cdck cdck_man.in > cdck.1
+ #
+ # __END__
+--- cdck.orig/man/Makefile.am
++++ cdck/man/Makefile.am
+@@ -11,7 +11,7 @@
+ EXTRA_DIST = cdck_man.in
+ cdck.1:
+-      pod2man --section=cdck.1 --verbose cdck_man.in > cdck.1
++      pod2man --section=1 --verbose --name=cdck cdck_man.in > cdck.1
+ #
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..d49cce1
--- /dev/null
@@ -0,0 +1 @@
+man.patch
index 43116b5c92ab0ec855e76017bef09e68f863e664..834496487156bafb681e6ca2a89dada6092b3245 100755 (executable)
@@ -9,6 +9,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/quilt/quilt.make
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
@@ -30,13 +31,12 @@ config.status: configure
 
 
 build: build-stamp
-
-build-stamp:  config.status
+build-stamp: config.status $(QUILT_STAMPFN)
        dh_testdir
        $(MAKE)
        touch $@
 
-clean:
+clean: unpatch
        dh_testdir
        dh_testroot
        rm -f build-stamp install-stamp
@@ -49,13 +49,13 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" ""
        cp -f /usr/share/misc/config.guess config.guess
 endif
 
-       dh_clean 
+       dh_clean
 
 install: install-stamp
 install-stamp: build-stamp
        dh_testdir
        dh_testroot
-       dh_clean -k 
+       dh_clean -k
        $(MAKE) install DESTDIR=$(CURDIR)/debian/cdck
        rm -rf $(CURDIR)/debian/cdck/usr/lib
        touch $@