manual: install manual conversion result files generated by cmake
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 14 Oct 2018 13:54:56 +0000 (15:54 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Sat, 27 Oct 2018 19:25:22 +0000 (21:25 +0200)
Install the (optionally generated) HTML and PDF manual files. Absence of
the files is non-fatal.

manual/CMakeLists.txt

index 47e6fdd..bdbd6c9 100644 (file)
@@ -51,3 +51,10 @@ add_custom_target(manual-pdf
 )
 add_custom_target(manual)
 add_dependencies(manual manual-html manual-pdf)
+
+install(
+       FILES ${MANUAL_OUT_HTML} ${MANUAL_OUT_PDF}
+       DESTINATION "share/doc/pulseview"
+       PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
+       OPTIONAL
+)