Add the build and autom4te.cache directories to .gitignore

Also skip them when building the source_tar_file.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
This commit is contained in:
Theodore Ts'o 2017-08-07 00:30:32 -04:00
parent 2fbe51a75d
commit 1cf91de5ea
2 changed files with 3 additions and 0 deletions

2
.gitignore vendored
View File

@ -4,4 +4,6 @@ config.log
config.status
configure
pwgen
build
autom4te.cache
*.o

View File

@ -76,6 +76,7 @@ $(srcdir)/.exclude-file:
-o -name TAGS -o -name \*.old -o -name \*.gmo \
-o -name config.log -o -name config.cache \
-o -name config.status -o -name Makefile \
-o -name build -o -name autom4te.cache \
-o -name changed-files -o -name .#\* \) \
-print) | sed -e "s/^./$$a/" > $(srcdir)/.exclude-file
echo "$(SRCROOT)/.exclude-file" >> $(srcdir)/.exclude-file