~ubuntu-branches/ubuntu/lucid/debhelper/lucid

« back to all changes in this revision

Viewing changes to dh_compress

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy), أحمد المحمودي (Ahmed El-Mahmoudy), Daniel Holbach
  • Date: 2009-12-16 09:01:54 UTC
  • mfrom: (1.4.8 sid)
  • Revision ID: james.westby@ubuntu.com-20091216090154-4qtf6jm09jtbsnfg
Tags: 7.4.10ubuntu1
[ أحمد المحمودي (Ahmed El-Mahmoudy) ]
* Merge with Debian unstable (LP: #485956). Remaining Ubuntu changes:
  - dh_installinit: Add --upstart-only and --onlyscripts-upstart modes.
  - Add various autoscripts for above: postinst-upstart,
    postinst-upstart-replace, postinst-upstart-restart,
    prerm-upstart, prerm-upstart-norestart, preinst-removeconffile.
  - dh_installudev: Handle conffile migration from old Ubuntu defaults
    (needed until after the next LTS release).

[ Daniel Holbach ]
* Port merge from 7.4.7 to 7.4.10.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
By default, dh_compress compresses files that debian policy mandates should
25
25
be compressed, namely all files in usr/share/info, usr/share/man,
26
 
usr/X11R6/man, files in usr/share/doc that are larger than 4k in size,
 
26
files in usr/share/doc that are larger than 4k in size,
27
27
(except the copyright file, .html and .css files, image files, and files
28
28
that appear to be already compressed based on their extensions), and all
29
 
changelog files. Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and
30
 
usr/share/fonts/X11/
 
29
changelog files. Plus PCF fonts underneath usr/share/fonts/X11/
31
30
 
32
31
=head1 FILES
33
32
 
114
113
                                ! -iname "*.svg" ! -iname "*.svgz" \\
115
114
                                ! -name "index.sgml" \\
116
115
                                ! -name "copyright" 2>/dev/null || true;
117
 
                        find usr/X11R6/lib/X11/fonts usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
 
116
                        find usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
118
117
                `);
119
118
        }
120
119