On Wed, Aug 24, 2005 at 02:02:47PM -0400, Joey Hess wrote: > Kumar Appaiah wrote: > > Well, nothing important, but some spelling mistakes in > > the docs; esp. `independant' instead of independent in > > PROGRAMMING. > > I don't spellcheck documentation, but if you'd like to send a patch, I > will apply it.
This is my first patch; so I don't know whether it's the right way... I apt-got source debhelper, and copied the source tree, made some trivial changes, did a diff -urN to a file and tried patching the original tree with patch -p1 and the new patch; it seemed to be all right. I have attached the patch, please tell me whether this is all right. If it is, might be able to do this sort of work for other Debian packages as well. Thanks. Kumar -- Kumar Appaiah, 462, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036
diff -urN debhelper-4.9.5/doc/PROGRAMMING debhelper-4.9.5_2/doc/PROGRAMMING --- debhelper-4.9.5/doc/PROGRAMMING 2005-08-25 00:04:48.000000000 +0530 +++ debhelper-4.9.5_2/doc/PROGRAMMING 2005-08-25 08:41:39.000000000 +0530 @@ -245,8 +245,8 @@ Returns the filename of the udeb package. getpackages($type) Returns a list of packages in the control file. - Must pass "arch" or "indep" or "same" to specify arch-dependant or - -independant or same arch packages. If nothing is specified, returns all + Must pass "arch" or "indep" or "same" to specify arch-dependent or + -independent or same arch packages. If nothing is specified, returns all packages. As a side effect, populates %package_arches and %package_types with the types of all packages (not only those returned). diff -urN debhelper-4.9.5/doc/TODO debhelper-4.9.5_2/doc/TODO --- debhelper-4.9.5/doc/TODO 2005-06-14 00:50:23.000000000 +0530 +++ debhelper-4.9.5_2/doc/TODO 2005-08-25 08:43:06.000000000 +0530 @@ -7,7 +7,7 @@ to accept (rather than accepting all debhelper options). They should be able to print brief usage summaries. - I think this calls for a restucturing. Make a Debhelper.pm class. Each + I think this calls for a restructuring. Make a Debhelper.pm class. Each program subclasses the class. The class provides command line parsing, useful functions, and so on. Skeleton of a debhelper command would then be: