diff --git a/CMakeLists.txt b/CMakeLists.txt index 4068d83..10d55c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,6 +104,9 @@ target_compile_options(datum_gateway ${SODIUM_CFLAGS} ${SODIUM_CFLAGS_OTHER} ) +install(FILES README.md DESTINATION ${CMAKE_INSTALL_DOCDIR}) +install(FILES doc/DATUM_recommended_setup-network_diagram.svg DESTINATION ${CMAKE_INSTALL_DOCDIR}/doc) + set(PREGEN_DOC ${CMAKE_SOURCE_DIR}/doc/example_datum_gateway_config.json) install(FILES ${PREGEN_DOC} DESTINATION ${CMAKE_INSTALL_DOCDIR}) diff --git a/debian/rules b/debian/rules index 603a885..b8f798e 100755 --- a/debian/rules +++ b/debian/rules @@ -3,3 +3,7 @@ export DH_VERBOSE = 1 %: dh $@ + +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_INSTALL_DOCDIR=share/doc/datum-gateway