This is much better than removing them in debian/rules.
Gbp-Dch: ignore
dh_movefiles
dh_install --list-missing
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
override_dh_install-arch:
dh_movefiles
dh_install --fail-missing
)
install(DIRECTORY ${PROJECT_BINARY_DIR}/doc/doxygen/html
)
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
+)