summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules2
-rw-r--r--doc/CMakeLists.txt5
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 9537ecd93..c1dba72af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,6 @@ override_dh_install-indep:
dh_movefiles
dh_install --list-missing
- find debian/libapt-pkg-doc/usr/share/doc/libapt-pkg-doc/html \( -name '*.md5' -o -name '*.map' \) -delete
-
override_dh_install-arch:
dh_movefiles
dh_install --fail-missing
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index fb4a9a3a4..a1491428f 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -56,7 +56,10 @@ add_custom_target(apt-doxygen ALL
)
install(DIRECTORY ${PROJECT_BINARY_DIR}/doc/doxygen/html
- DESTINATION ${CMAKE_INSTALL_DOCDIR}/../libapt-pkg-doc)
+ DESTINATION ${CMAKE_INSTALL_DOCDIR}/../libapt-pkg-doc
+ PATTERN "*.map" EXCLUDE
+ PATTERN "*.md5" EXCLUDE
+)
endif()