Properly ignore files in build-aux directory

We want to ignore all files except *.pl in build-aux directory, however
the unignore pattern "!/build-aux/*.pl" doesn't have any effect because
a previous "/build-aux/" pattern ignores the directory itself rather
than individual files in it.

https://bugzilla.redhat.com/show_bug.cgi?id=1439994

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
(cherry picked from commit f0ad8e7ee0)
This commit is contained in:
Jiri Denemark 2017-04-07 08:50:21 +02:00 committed by Cole Robinson
parent 0b6143eb9a
commit afb435d813

2
.gitignore vendored
View File

@ -43,7 +43,7 @@
/NEWS
/aclocal.m4
/autom4te.cache
/build-aux/
/build-aux/*
/build/
/confdefs.h
/config.cache