forked from osmocom/wireshark
Debian: Fix header installation
This commit is contained in:
parent
b301dee0e1
commit
83f57bd4c2
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue