]> git.ipfire.org Git - thirdparty/openvpn.git/blame - doc/Makefile.am
Update Copyright statements to 2024
[thirdparty/openvpn.git] / doc / Makefile.am
CommitLineData
34cb9132
ABL
1#
2# OpenVPN -- An application to securely tunnel IP networks
3# over a single UDP port, with support for SSL/TLS-based
4# session authentication and key exchange,
5# packet encryption, packet authentication, and
6# packet compression.
7#
b25c6d7e 8# Copyright (C) 2002-2024 OpenVPN Inc <sales@openvpn.net>
34cb9132
ABL
9# Copyright (C) 2006-2012 Alon Bar-Lev <alon.barlev@gmail.com>
10#
11
66bf378e
SK
12SUBDIRS = doxygen
13
37cf98fa
DS
14#
15# List of man and HTML pages we build when rst2man/rst2html is available
16#
17# NOTE: Remember to add source .rst files to $(dist_noinst_DATA) below
18# This could be automated with GNU Make, but we need BSD Make support
19#
20build_man_pages = openvpn.8 openvpn-examples.5
21build_html_pages = openvpn.8.html openvpn-examples.5.html
22
34cb9132 23dist_doc_DATA = \
ef2405a6 24 management-notes.txt gui-notes.txt
4cabd28a 25
529cc6a5 26openvpn_sections = \
f500c49c 27 man-sections/advanced-options.rst \
7c8dd98e 28 man-sections/cipher-negotiation.rst \
f500c49c
DS
29 man-sections/client-options.rst \
30 man-sections/connection-profiles.rst \
31 man-sections/encryption-options.rst \
f500c49c
DS
32 man-sections/generic-options.rst \
33 man-sections/inline-files.rst \
34 man-sections/link-options.rst \
35 man-sections/log-options.rst \
36 man-sections/management-options.rst \
37 man-sections/network-config.rst \
38 man-sections/pkcs11-options.rst \
39 man-sections/plugin-options.rst \
40 man-sections/protocol-options.rst \
41 man-sections/proxy-options.rst \
ee6830c3 42 man-sections/renegotiation.rst \
f500c49c
DS
43 man-sections/signals.rst \
44 man-sections/script-options.rst \
45 man-sections/server-options.rst \
46 man-sections/tls-options.rst \
47 man-sections/unsupported-options.rst \
8d0b1def 48 man-sections/virtual-routing-and-forwarding.rst \
f500c49c
DS
49 man-sections/vpn-network-options.rst \
50 man-sections/windows-options.rst
34cb9132 51
529cc6a5
FL
52openvpn_examples_sections = \
53 man-sections/example-fingerprint.rst \
54 man-sections/examples.rst
55
56dist_noinst_DATA = \
9ccb1497
FL
57 android.txt \
58 interactive-service-notes.rst \
59 keying-material-exporter.txt \
529cc6a5
FL
60 openvpn.8.rst \
61 openvpn-examples.5.rst \
9ccb1497
FL
62 README.man \
63 README.plugins \
64 tls-crypt-v2.txt \
529cc6a5 65 $(openvpn_sections) \
e8881ec6
FL
66 $(openvpn_examples_sections) \
67 CMakeLists.txt
529cc6a5 68
9ccb1497
FL
69EXTRA_DIST = tests
70
529cc6a5
FL
71# dependencies
72openvpn.8 openvpn.8.html: $(openvpn_sections)
73openvpn-examples.5 openvpn-examples.5.html: $(openvpn_examples_sections)
f500c49c 74
37cf98fa
DS
75###### GENERIC RULES ##########
76
77SUFFIXES = .8.rst .8 .8.html .5.rst .5 .5.html
0c5380e9 78
fafb05f6
FL
79RST_FLAGS = --strict
80
37cf98fa
DS
81MAINTAINERCLEANFILES = \
82 $(srcdir)/Makefile.in
0c5380e9 83
37cf98fa 84.8.rst.8 .5.rst.5 :
f500c49c 85if HAVE_PYDOCUTILS
fafb05f6 86 $(RST2MAN) $(RST_FLAGS) $< > $@
f500c49c 87else
37cf98fa 88 @echo "Missing python-docutils - skipping man page generation ($@)"
f500c49c
DS
89endif
90
37cf98fa 91.8.rst.8.html .5.rst.5.html :
0c5380e9 92if HAVE_PYDOCUTILS
fafb05f6 93 $(RST2HTML) $(RST_FLAGS) $< > $@
0c5380e9 94else
37cf98fa 95 @echo "Missing python-docutils - skipping html page generation ($@)"
0c5380e9
AS
96endif
97
98
f500c49c 99if HAVE_PYDOCUTILS
37cf98fa
DS
100dist_noinst_DATA += $(build_man_pages)
101dist_html_DATA = $(build_html_pages)
f500c49c
DS
102
103# Failsafe - do not delete these files unless we can recreate them
37cf98fa 104CLEANFILES = $(build_man_pages) $(build_html_pages)
f500c49c 105
fc25ca3a
DS
106endif
107
f500c49c 108if WIN32
34cb9132 109else
37cf98fa 110dist_man_MANS = $(build_man_pages)
34cb9132
ABL
111endif
112
37cf98fa 113dist-hook : $(build_man_pages) $(build_html_pages)