summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-15 23:08:22 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-15 23:08:22 +0100
commit063a17d7a9f9f6195067df46220be02c4f5f5d32 (patch)
tree106a05b9952e05ad4848c7ff8de0bbdeb3eab271 /debian
parentcaffd4807f612e931ecca8f7d9b0c0c10de27ce6 (diff)
move the lintian-overrides into the debian directory
Diffstat (limited to 'debian')
-rw-r--r--debian/apt.dirs1
-rw-r--r--debian/apt.lintian-overrides3
-rwxr-xr-xdebian/rules4
3 files changed, 4 insertions, 4 deletions
diff --git a/debian/apt.dirs b/debian/apt.dirs
index f25e4600b..2770d79bb 100644
--- a/debian/apt.dirs
+++ b/debian/apt.dirs
@@ -13,4 +13,3 @@ var/lib/apt/mirrors/partial
var/lib/apt/periodic
var/log/apt
usr/share/bug/apt
-usr/share/lintian/overrides
diff --git a/debian/apt.lintian-overrides b/debian/apt.lintian-overrides
new file mode 100644
index 000000000..49c5ce53c
--- /dev/null
+++ b/debian/apt.lintian-overrides
@@ -0,0 +1,3 @@
+# apt-mark is rarely used auxiliary script, we don't want to depend on
+# python-apt only for it.
+apt binary: python-script-but-no-python-dep ./usr/bin/apt-mark
diff --git a/debian/rules b/debian/rules
index fd872b4ce..1c5b6d515 100755
--- a/debian/rules
+++ b/debian/rules
@@ -193,9 +193,6 @@ apt: build build-doc
cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove
- # copy lintian override
- cp share/lintian-overrides debian/$@/usr/share/lintian/overrides/apt
-
# make rosetta happy and remove pot files in po/ (but leave stuff
# in po/domains/* untouched) and cp *.po into each domain dir
rm -f build/po/*.pot
@@ -205,6 +202,7 @@ apt: build build-doc
#mv debian/$@/usr/bin/apt-report-mirror-failure \
# debian/$@/usr/lib/apt/apt-report-mirror-failure \
+ dh_lintian -p$@
dh_installexamples -p$@ $(BLD)/docs/examples/*
dh_installman -p$@ $(wildcard $(patsubst %,doc/%.[158],$(apt_MANPAGES)) $(patsubst %,doc/*/%.*.[158],$(apt_MANPAGES)))
dh_installcron -p$@