add patch for manpage (location of config example) and quilt framework
authorgregor herrmann <gregoa@debian.org>
Fri, 24 Oct 2008 10:00:59 +0000 (10:00 -0000)
committergregor herrmann <gregoa@debian.org>
Fri, 24 Oct 2008 10:00:59 +0000 (10:00 -0000)
debian/control
debian/patches/manpage-debian.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules

index 0704886..755fa12 100644 (file)
@@ -3,7 +3,7 @@ Section: net
 Priority: extra
 Maintainer: gregor herrmann <gregoa@debian.org>
 Uploaders: tony mancill <tmancill@debian.org>
-Build-Depends: debhelper (>= 7), libcurl4-gnutls-dev, xmlto
+Build-Depends: debhelper (>= 7), libcurl4-gnutls-dev, xmlto, quilt (>= 0.40)
 Standards-Version: 3.8.0
 Vcs-Svn: http://svn.toastfreeware.priv.at/debian/bti/trunk/
 Vcs-Browser: http://svn.toastfreeware.priv.at/wsvn/ToastfreewareDebian/bti/trunk/
diff --git a/debian/patches/manpage-debian.patch b/debian/patches/manpage-debian.patch
new file mode 100644 (file)
index 0000000..a21a776
--- /dev/null
@@ -0,0 +1,19 @@
+Author: gregor herrmann <gregoa@debian.org>
+Description: change the pointer to the example config file on Debian systems
+             (and simplify the sentence while we're at it)
+
+--- a/bti.xml
++++ b/bti.xml
+@@ -178,9 +178,9 @@
+            </varlistentry>
+          </variablelist>
+          <para>
+-           There is an example config file called
+-           <filename>bti.example</filename> in the source tree that shows
+-           the structure of the file if you need an example to work off of.
++           There is an example config file in
++           <filename>/usr/share/doc/bti/examples/bti.example</filename> that shows
++           the structure of the file.
+          </para>
+        </refsect1>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..c6aa687
--- /dev/null
@@ -0,0 +1 @@
+manpage-debian.patch
index 3850db1..56dc9fa 100755 (executable)
@@ -1,11 +1,13 @@
 #!/usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
        dh build
        touch $@
 
-clean:
+clean: unpatch
        dh $@
 
 install: install-stamp