Bug#261435: manual: Example for source package override is wrong
Package: lintian
Version: 1.23.2
Severity: minor
Tags: patch
Hello
It took me a while to figure out why my overrides do not work. I don't
know if lintian or the docs are wrong but adjusting the docs is
sufficient in this case.
bye,
-christian-
--- doc/lintian.sgml.orig       2004-07-26 01:37:14.000000000 +0200
+++ doc/lintian.sgml    2004-07-26 01:39:14.000000000 +0200
@@ -452,7 +452,8 @@
 is one of <tt>binary</tt>, <tt>udeb</tt> and <tt>source</tt>, and
 <tt><lintian-info></tt> is all additional information provided
 by Lintian except for the tag. (lintian-info is optional, type can
-be omitted if it is <tt>binary</tt>).
+be omitted if it is <tt>binary</tt>, package and type have to be omitted 
+if it is a <tt>source</tt> package).
 An example file for a binary package would look like:
 <example>
 /usr/share/lintian/overrides/foo, where foo is the name of your package
@@ -465,8 +466,8 @@
 An example file for a source package would look like:
 <example>
 debian/source.lintian-overrides in your base source directory
-foo source: debian-files-list-in-source
-foo source: configure-generated-file-in-source config.cache
+debian-files-list-in-source
+configure-generated-file-in-source config.cache
 </example>
 
 <p>
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux app109 2.6.5-app109-4 #1 Sat May 8 23:08:00 CEST 2004 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE (ignored: LC_ALL set)
Versions of packages lintian depends on:
ii  binutils                   2.14.90.0.7-8 The GNU assembler, linker and bina
ii  diffstat                   1.34-1        produces graph of changes introduc
ii  file                       4.09-1        Determines file type using "magic"
ii  gettext                    0.14.1-5      GNU Internationalization utilities
ii  man-db                     2.4.2-19      The on-line manual pager
ii  perl [libdigest-md5-perl]  5.8.4-2       Larry Wall's Practical Extraction 
-- no debconf information
Reply to: