diff --git a/.gitignore b/.gitignore
index 9f8d770..f17e3ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,17 +1,14 @@
-*.bak
-*.lo
-*.o
-*.orig
-*.pyc
-*.rej
-*.so
-*.tab.c
-*~
-.*.sw[nop]
-Makefile
-Makefile.in
+*.bau
+/*.lo
+/*.o
+/*.orig
+/*.rej
+/*.tab.c
+/*~
+/.*.sw[nop]
 /.deps
 /.dirstamp
+/.gitignore
 /.libs
 /ChangeLog
 /GPATH
@@ -20,6 +17,8 @@ Makefile.in
 /GTAGS
 /ID
 /INSTALL
+/Makefile
+/Makefile.in
 /PKG-INFO
 /TAGS
 /_libs
@@ -40,6 +39,12 @@ Makefile.in
 /configure.lineno
 /configure.scan
 /depcomp
+/examples/Makefile.in
+/gi/Makefile.in
+/gi/_glib/Makefile.in
+/gi/_gobject/Makefile.in
+/gi/overrides/Makefile.in
+/gi/repository/Makefile.in
 /gtk-doc.make
 /install-sh
 /libtool
@@ -58,4 +63,5 @@ Makefile.in
 /so_locations
 /stamp-h1
 /tags
+/tests/Makefile.in
 /xmldocs.make
