debian/.gitignore: improve filtering
authorHans van Kranenburg <hans@knorrie.org>
Thu, 21 Dec 2017 17:20:46 +0000 (18:20 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Thu, 21 Dec 2017 17:57:13 +0000 (18:57 +0100)
After doing a full build, it seems there was still stuff not being
ignored correctly. This change should take care of that.

So after debian/rules orig, debian/rules debian/control-real and doing a
package build, there are no files in debian/ showing up as untracked
content. When cleaning out everything using git clean -dfx, there are no
files in debian/ which are listed when doing git status --ignored.

debian/.gitignore

index 163a13adc84c2e9443c9f40df326ddd27078d7c3..166b19dffc8c5a37df590db60801446cfbee9925 100644 (file)
@@ -1,12 +1,10 @@
 __pycache__
-*.debhelper*
-*.substvars
 /build/
 /control
 /control.md5sum
 /files
 /libxen-*.*/
-!/libxen-dev.*
+!/libxen-dev.install
 /libxen-dev/
 /libxenstore3.0/
 /rules.gen
@@ -14,6 +12,9 @@ __pycache__
 /xen-hypervisor-*.*-*
 /xenstore-utils/
 /xen-system-*/
+/xen-utils-*.*/
 /xen-utils-*.*.*
 !/xen-utils-common.*
 /xen-utils-common/
+*.debhelper*
+*.substvars