Be upstream patch friendly for documentation

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Be upstream patch friendly for documentation

Post by broucaries » 2015-05-03T04:28:00-07:00

Hi,

Could be possible to not generate the
<!-- Magick Cache 25th July 2014 04:06 -->
line at the end of each documentation file for packaged documentation ?

a sed script for removing it from tar.gz will be really nice....

It is really painful for refreshing patch....

Bastien

broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Be upstream patch friendly for documentation

Post by broucaries » 2015-05-03T05:16:28-07:00

See also private mail for patch

broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Be upstream patch friendly for documentation

Post by broucaries » 2015-05-03T05:45:36-07:00

This one liner in doc directory do the trick

find . -type f -exec sed -i 's/^[[:space:]]*<!--[[:space:]]*Magick Cache.*$//g' {} \;

User avatar
magick
Site Admin
Posts: 10994
Joined: 2003-05-31T11:32:55-07:00

Re: Be upstream patch friendly for documentation

Post by magick » 2015-05-05T04:49:09-07:00

Will have a fix later today. Thanks.

Post Reply