[cairo] [PATCH] gitignore: negate gitignore for static pkgconfig files

Matt Sealey matt at genesi-usa.com
Wed Mar 20 12:22:55 PDT 2013


On Mon, Mar 18, 2013 at 10:34 AM, Behdad Esfahbod <behdad at behdad.org> wrote:
> On 13-03-18 09:03 AM, Uli Schlachter wrote:
>> Hi,
>>
>> On 11.03.2013 16:24, Matt Sealey wrote:
>>> Commit 781f253 adds a rule cairo-*.*.* to .gitignore in the root dir.
>>> Unfortunately this matches several src/cairo-*.pc.in files in the
>>> src directory.
>
> All you need is to change that rule to "/cairo-*.*.*".

I saw it was a bit more complicated than that.. from a clean source
tree, cairo-*.*.* only matches the three cairo-*.pc.in files in src/
but after a build, there are many, many more we want to ignore all
over the tree (and then the ./.gitignore rule fails to ignore THOSE).
This was the simplest, cleanest way I could think of to fix it. By all
means.. improve on it, though ;)

--
Matt Sealey <matt at genesi-usa.com>
Product Development Analyst, Genesi USA, Inc.


More information about the cairo mailing list