Piotr Ożarowski wrote:
> dh_compress compresses Python source files (file extension: .py) in
> /usr/share/doc/. Please leave at least /usr/share/doc/PACKAGE/examples/
> ones untouched (if not all of them)

I can see that it makes sense to leave some example scripts uncompressed.
I would, however, like to avoid trying to maintain a list of every
script extension in dh_compress.

dh_compress's default of compressing examples/ may not be the best
default. Out of 1400 example files here, only 208 are compressed.
It must be very common to use dh_compress -Xexamples to avoid
compressing the directory.

Uncompressing those 208 files would use an additional 2 mb of
space. The biggest file is, ironically, a script:

-rw-r--r-- 1 joey joey 306K Aug 17 17:20 test.sh
-rw-r--r-- 1 joey joey 169K Aug 17 17:20 taxreport.xac
-rw-r--r-- 1 joey joey 156K Aug 17 17:20 REC-xml-19980210.xml
-rw-r--r-- 1 joey joey 128K Aug 17 17:20 Muttrc

So changing dh_compress to skip examples/* is a possibility, but
probably one I would defer to debhelper v9.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to