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

Matt Sealey <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAKGA1bn241HcMRYbFm=KdVoxyOzK3hqzMxjgmURFCAUDp+tqvw@mail.gmail.com>
On Mon, Mar 18, 2013 at 10:34 AM, Behdad Esfahbod <[email protected]> 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 <[email protected]>
Product Development Analyst, Genesi USA, Inc.
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.