Ignore files generated by building in the source directory.
diff --git a/.gitignore b/.gitignore
index cc1bae8..ec4faee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,21 +1,30 @@
-*~
 #*
 *#
-.#*
-=*
-.glimpse_*
-autom4te.*
-*.o
-*.so
 *.a
+*.gmo
+*.o
 *.orig
+*.os
 *.patch
+*.pot
 *.rej
-Makefile.in
+*.so
 */Makefile.in
-aclocal.m4
+*~
+.#*
+.deps
+.glimpse_*
+=*
 INSTALL
+Makefile
+Makefile.in
+aclocal.m4
+autom4te.*
+backends/*.map
+config.h
 config.h.in
+config.log
+config.status
 config/config.guess
 config/config.sub
 config/depcomp
@@ -24,8 +33,7 @@
 config/ylwrap
 configure
 elfutils.spec
-*.pot
-*.gmo
+libdw/known-dwarf.h
 po/en@boldquot.po
 po/en@quot.po
-libdw/known-dwarf.h
+stamp-h1