debian: Make better use of the tree installed by CMake

This gets rid of the special casing of etc/apt, various
example file installations handled by the upstream build
system, and of course the directory creation for all dirs
created by the upstream build system.
This commit is contained in:
Julian Andres Klode committed 2016-08-19 19:20:43 +02:00
1 parent 35d74be55f
commit 23ecbf33db
9 files changed
+2 -29

No files matched your search

-2
View File
@@ -1,5 +1,3 @@
build/docs/guide*
build/docs/offline*
README.progress-reporting
doc/external-dependency-solver-protocol.txt
doc/external-installation-planner-protocol.txt
-1
View File
@@ -1 +0,0 @@
usr/lib/apt/methods
-3
View File
@@ -1,3 +0,0 @@
usr/lib/apt/solvers
usr/lib/apt/planners
usr/bin
-1
View File
@@ -1 +0,0 @@
doc/examples/apt-ftparchive.conf
-19
View File
@@ -1,20 +1 @@
usr/bin
usr/lib/apt/methods
usr/lib/apt/solvers
usr/lib/apt/planners
usr/lib/dpkg/methods/apt
etc/apt
etc/apt/apt.conf.d
etc/apt/preferences.d
etc/apt/sources.list.d
etc/apt/trusted.gpg.d
etc/kernel/postinst.d
etc/logrotate.d
var/cache/apt/archives/partial
var/lib/apt/lists/partial
var/lib/apt/mirrors/partial
var/lib/apt/periodic
var/log/apt
usr/share/bug/apt
usr/share/bash-completion/completions/
lib/systemd/system/
-1
View File
@@ -1 +0,0 @@
build/docs/examples/*
+2
View File
@@ -1,3 +1,4 @@
etc/apt/
usr/bin/apt
usr/bin/apt-get
usr/bin/apt-cache
@@ -37,3 +38,4 @@ usr/lib/apt/apt-helper
usr/share/doc/apt
debian/apt.systemd.daily usr/lib/apt
var/
-1
View File
@@ -1,3 +1,2 @@
doc/libapt-pkg2_to_3.txt
doc/style.txt
#build/doc/doxygen/html
-1
View File
@@ -19,7 +19,6 @@ override_dh_install-indep:
override_dh_install-arch:
dh_movefiles
if [ -e debian/tmp/etc/apt ]; then dh_install -papt etc/apt/* etc/apt; fi
dh_install --list-missing
install -m 644 debian/apt.conf.autoremove debian/apt/etc/apt/apt.conf.d/01autoremove
install -m 755 debian/apt.auto-removal.sh debian/apt/etc/kernel/postinst.d/apt-auto-removal