diff options
author | Matt Sealey <matt@genesi-usa.com> | 2013-03-11 10:24:52 -0500 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2013-03-18 14:02:02 +0100 |
commit | be347acd5a198b4280f2699a1abfca241e7e610b (patch) | |
tree | f89108129886afe8195e7963c2bc8991631390e5 | |
parent | 0e999edff869bc08522a6a56c69efa9b5e1c33b5 (diff) |
gitignore: negate gitignore for static pkgconfig files
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.
The build system requires these files to be present, but the rule is
allowing them to be ignored. For example, when extracting a cgit
snapshot tarball and checking it into another git repository, these
files get left behind. Any accidental changes to these files will go
unnoticed by a 'git status' (possibly creating bad installs) and
any intentional changes could not be committed (git commit -a will
miss them, and every one will need to be forced). This is not really
desirable.
We don't want to unignore *.pc.in here since there are many, many
autogenerated files with this name, and the cairo-*.*.* rule is in
general quite useful and doesn't warrant modification (although it
could be made a little more specific), so we just make these 4 files
a special case and negate the match with full filenames in src/.
Signed-off-by: Matt Sealey <matt@genesi-usa.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
-rw-r--r-- | src/.gitignore | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/.gitignore b/src/.gitignore index fd53c864..534263a1 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -31,3 +31,7 @@ check-has-hidden-symbols.i check-link check-skiplist headers-standalone +!cairo.pc.in +!cairo-uninstalled.pc.in +!cairo-features.pc.in +!cairo-features-uninstalled.pc.in |