after building apt by ignoring temporary files, build files and the
autogenerated files in doc/.
--- /dev/null
+# temporary and backup files
+*~
+*.bak
+*.rej
+
+# buildrelated files/dirs
+aclocal.m4
+autom4te.cache/
+build/
+configure
+
+# generated apt man pages
+doc/*.1
+doc/*.5
+doc/*.8
+doc/*/*.1
+doc/*/*.5
+doc/*/*.8
+doc/*/apt.ent
+
+# ignore xml man page files generated by po4a
+# older translation methods translate in this files
+# so we can not ignore it for all translations now
+doc/ja/*.xml
+
+# FIXME: files generated by deprecated sgml man pages
+doc/es/manpage.links
+doc/es/manpage.refs
+doc/pt_BR/manpage.links
+doc/pt_BR/manpage.refs