diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-10-01 00:08:12 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-10-01 00:08:12 -0400 |
commit | 636019ecdb2a2ed5c8a39d37a9a69cdc45de99ad (patch) | |
tree | b80fa4636619044ac488e730efe3925d7bd9c513 /debian/rules | |
parent | f39a46a82d072f576fe3cf052c8a40ea145e6e05 (diff) | |
download | e2fsprogs-636019ecdb2a2ed5c8a39d37a9a69cdc45de99ad.tar.gz |
debian: avoid installing source.lintian-overrides
This avoids lintian errors if we try to rebuild the package since
source.lintian-overrides ends up getting installed in
debian/source/usr/src/lintian/overrides/source, which then gets
dropped in the diff file.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 4e507a06..c9584afe 100755 --- a/debian/rules +++ b/debian/rules @@ -415,7 +415,9 @@ binary-arch: install install-udeb # lintian overrides for i in $$(cd debian && echo *.lintian-overrides); do \ pkg=$${i%.lintian-overrides} ;\ - $(INSTALL) -m 0644 -D -p debian/$$i ${debdir}/$${pkg}/usr/share/lintian/overrides/$${pkg} ;\ + if test "$${pkg}" != source ; then \ + $(INSTALL) -m 0644 -D -p debian/$$i ${debdir}/$${pkg}/usr/share/lintian/overrides/$${pkg} ;\ + fi ;\ done # symlinks to prepare dh_installdocs run |