Re: How exactly can I use add_command_options to prevent compressing pdfs
On Tue, Sep 29, 2009 at 01:32:35PM +0200, Andreas Tille wrote:
> Hi,
>
> I found in the log of #543392 that there is now a way implemented since
> debhelper 7.3.16 to prevent dh_compress from zipping everything in the
> doc directory (especially I want to do an --exclude=.pdf). But I have
> actually no idea how to *use* this command. Is there any example syntax
> in a rules file?
If you're using the dh sequencer, since 7.0.50 you can override specific
targets:
override_dh_compress:
dh_compress -X.pdf
Joey's full explanation is at
http://kitenet.net/~joey/blog/entry/debhelper_dh_overrides/
--
Jonathan Wiltshire
1024D: 0xDB800B52 / 4216 F01F DCA9 21AC F3D3 A903 CA6B EA3E DB80 0B52
4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51
Reply to: