diff --git a/.gitignore b/.gitignore
index 665c94531d1dea400d7c2c2bb7172de6131740dd..a618a6b6ecbc8286d1482451aec3fc4cdce38160 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,4 +8,5 @@ res/.directory
 .\#*
 \#*#
 Makefile
-Trolltech.conf
\ No newline at end of file
+Trolltech.conf
+obj-i686-linux-gnu
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..9a94fb2a5614f11155d78828c2acb833e6d442fd
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,12 @@
+files
+pkcs11-daemon.debhelper.log
+pkcs11-daemon.substvars
+pkcs11-proxy1.debhelper.log
+pkcs11-proxy1.postinst.debhelper
+pkcs11-proxy1.postrm.debhelper
+pkcs11-proxy1.substvars
+stamp-makefile-build
+stamp-makefile-install
+tmp
+pkcs11-daemon
+pkcs11-proxy1