summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-10-01 00:08:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-10-01 00:08:12 -0400
commit636019ecdb2a2ed5c8a39d37a9a69cdc45de99ad (patch)
treeb80fa4636619044ac488e730efe3925d7bd9c513 /debian/rules
parentf39a46a82d072f576fe3cf052c8a40ea145e6e05 (diff)
downloade2fsprogs-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-xdebian/rules4
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