Debian: Fix header installation

This commit is contained in:
João Valverde 2023-01-18 10:42:45 +00:00
parent b301dee0e1
commit 83f57bd4c2
2 changed files with 7 additions and 0 deletions

View File

@ -3891,6 +3891,12 @@ install(EXPORT WiresharkTargets
EXCLUDE_FROM_ALL
)
# This isn't strictly needed but it makes working around debhelper's
# cleverness a lot easier.
add_custom_target(install-headers
COMMAND ${CMAKE_COMMAND} -DCOMPONENT=Development -P cmake_install.cmake
)
if (DOXYGEN_EXECUTABLE)
# API reference
# We don't have a good way of tracking dependencies, so we simply

View File

@ -55,6 +55,7 @@ override_dh_strip:
override_dh_auto_install:
dh_auto_install
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp -C $(CURDIR)/obj-* install-headers
rm -f debian/*.shlibs
rm -rf $(CURDIR)/debian/tmp/usr/share/wireshark/COPYING
mkdir -p $(CURDIR)/debian/tmp/etc/wireshark/