socketpair type derived from tlsdata->ipproto
[tlspool] / doc / CMakeLists.txt
1 # Relative to here
2 set(doc_SRCS
3     socketprotocol.rst
4     databases.rst
5     identities.rst
6     pkcs11.rst
7     validation.md
8     startxxx.md
9     p2p-tls.md
10     tool/ircproxy-explained.md
11     localid-selection.md
12     anonymising-precursor.md
13 )
14
15 # Relative to top-level
16 set(license_SRCS
17     ${CMAKE_SOURCE_DIR}/COPYRIGHT.MD
18     ${CMAKE_SOURCE_DIR}/LICENSE-DAEMON.MD
19     ${CMAKE_SOURCE_DIR}/LICENSE-DOCS.MD
20     ${CMAKE_SOURCE_DIR}/LICENSE-USERSPACE.MD
21     # README
22     # INSTALL
23     # TODO
24 )
25
26 # Relative to here
27 set(man3_SRCS
28     tlspool_socket
29     tlspool_starttls
30     tlspool_ping
31     tlspool_prng
32     tlspool_pin_service
33     tlspool_localid_service
34     tlspool_control_detach
35     tlspool_control_reattach
36     tlspool_configvar
37 )
38 set(man8_SRCS tlspool tlstunnel)
39
40 install(FILES ${doc_SRCS} ${license_SRCS} DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/tlspool/)
41
42 foreach(m ${man3_SRCS})
43     install(FILES man/${m}.man DESTINATION ${CMAKE_INSTALL_MANDIR}/man3/ RENAME ${m}.3)
44 endforeach()
45 foreach(m ${man8_SRCS})
46     install(FILES man/${m}.man DESTINATION ${CMAKE_INSTALL_MANDIR}/man8/ RENAME ${m}.8)
47 endforeach()
48