2012-02-29 21:11:59 +01:00
|
|
|
#
|
|
|
|
# OpenVPN -- An application to securely tunnel IP networks
|
|
|
|
# over a single UDP port, with support for SSL/TLS-based
|
|
|
|
# session authentication and key exchange,
|
|
|
|
# packet encryption, packet authentication, and
|
|
|
|
# packet compression.
|
|
|
|
#
|
2023-01-10 17:05:31 +01:00
|
|
|
# Copyright (C) 2002-2023 OpenVPN Inc <sales@openvpn.net>
|
2012-02-29 21:11:59 +01:00
|
|
|
# Copyright (C) 2006-2012 Alon Bar-Lev <alon.barlev@gmail.com>
|
|
|
|
#
|
|
|
|
|
2017-11-08 13:12:54 +01:00
|
|
|
SUBDIRS = doxygen
|
|
|
|
|
2021-06-30 20:51:34 +02:00
|
|
|
#
|
|
|
|
# List of man and HTML pages we build when rst2man/rst2html is available
|
|
|
|
#
|
|
|
|
# NOTE: Remember to add source .rst files to $(dist_noinst_DATA) below
|
|
|
|
# This could be automated with GNU Make, but we need BSD Make support
|
|
|
|
#
|
|
|
|
build_man_pages = openvpn.8 openvpn-examples.5
|
|
|
|
build_html_pages = openvpn.8.html openvpn-examples.5.html
|
|
|
|
|
2012-02-29 21:11:59 +01:00
|
|
|
dist_doc_DATA = \
|
2021-01-18 17:28:50 +01:00
|
|
|
management-notes.txt gui-notes.txt
|
2020-07-19 13:48:53 +02:00
|
|
|
|
2021-12-09 18:11:36 +01:00
|
|
|
openvpn_sections = \
|
2020-07-17 00:53:31 +02:00
|
|
|
man-sections/advanced-options.rst \
|
2022-05-18 20:37:15 +02:00
|
|
|
man-sections/cipher-negotiation.rst \
|
2020-07-17 00:53:31 +02:00
|
|
|
man-sections/client-options.rst \
|
|
|
|
man-sections/connection-profiles.rst \
|
|
|
|
man-sections/encryption-options.rst \
|
|
|
|
man-sections/generic-options.rst \
|
|
|
|
man-sections/inline-files.rst \
|
|
|
|
man-sections/link-options.rst \
|
|
|
|
man-sections/log-options.rst \
|
|
|
|
man-sections/management-options.rst \
|
|
|
|
man-sections/network-config.rst \
|
|
|
|
man-sections/pkcs11-options.rst \
|
|
|
|
man-sections/plugin-options.rst \
|
|
|
|
man-sections/protocol-options.rst \
|
|
|
|
man-sections/proxy-options.rst \
|
2020-07-17 13:01:36 +02:00
|
|
|
man-sections/renegotiation.rst \
|
2020-07-17 00:53:31 +02:00
|
|
|
man-sections/signals.rst \
|
|
|
|
man-sections/script-options.rst \
|
|
|
|
man-sections/server-options.rst \
|
|
|
|
man-sections/tls-options.rst \
|
|
|
|
man-sections/unsupported-options.rst \
|
2020-07-17 12:54:53 +02:00
|
|
|
man-sections/virtual-routing-and-forwarding.rst \
|
2020-07-17 00:53:31 +02:00
|
|
|
man-sections/vpn-network-options.rst \
|
|
|
|
man-sections/windows-options.rst
|
2012-02-29 21:11:59 +01:00
|
|
|
|
2021-12-09 18:11:36 +01:00
|
|
|
openvpn_examples_sections = \
|
|
|
|
man-sections/example-fingerprint.rst \
|
|
|
|
man-sections/examples.rst
|
|
|
|
|
|
|
|
dist_noinst_DATA = \
|
2023-06-19 15:29:34 +02:00
|
|
|
android.txt \
|
|
|
|
interactive-service-notes.rst \
|
|
|
|
keying-material-exporter.txt \
|
2021-12-09 18:11:36 +01:00
|
|
|
openvpn.8.rst \
|
|
|
|
openvpn-examples.5.rst \
|
2023-06-19 15:29:34 +02:00
|
|
|
README.man \
|
|
|
|
README.plugins \
|
|
|
|
tls-crypt-v2.txt \
|
2021-12-09 18:11:36 +01:00
|
|
|
$(openvpn_sections) \
|
|
|
|
$(openvpn_examples_sections)
|
|
|
|
|
2023-06-19 15:29:34 +02:00
|
|
|
EXTRA_DIST = tests
|
|
|
|
|
2021-12-09 18:11:36 +01:00
|
|
|
# dependencies
|
|
|
|
openvpn.8 openvpn.8.html: $(openvpn_sections)
|
|
|
|
openvpn-examples.5 openvpn-examples.5.html: $(openvpn_examples_sections)
|
2020-07-17 00:53:31 +02:00
|
|
|
|
2021-06-30 20:51:34 +02:00
|
|
|
###### GENERIC RULES ##########
|
|
|
|
|
|
|
|
SUFFIXES = .8.rst .8 .8.html .5.rst .5 .5.html
|
2021-05-20 17:09:31 +02:00
|
|
|
|
2023-03-31 15:24:29 +02:00
|
|
|
RST_FLAGS = --strict
|
|
|
|
|
2021-06-30 20:51:34 +02:00
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
$(srcdir)/Makefile.in
|
2021-05-20 17:09:31 +02:00
|
|
|
|
2021-06-30 20:51:34 +02:00
|
|
|
.8.rst.8 .5.rst.5 :
|
2020-07-17 00:53:31 +02:00
|
|
|
if HAVE_PYDOCUTILS
|
2023-03-31 15:24:29 +02:00
|
|
|
$(RST2MAN) $(RST_FLAGS) $< > $@
|
2020-07-17 00:53:31 +02:00
|
|
|
else
|
2021-06-30 20:51:34 +02:00
|
|
|
@echo "Missing python-docutils - skipping man page generation ($@)"
|
2020-07-17 00:53:31 +02:00
|
|
|
endif
|
|
|
|
|
2021-06-30 20:51:34 +02:00
|
|
|
.8.rst.8.html .5.rst.5.html :
|
2021-05-20 17:09:31 +02:00
|
|
|
if HAVE_PYDOCUTILS
|
2023-03-31 15:24:29 +02:00
|
|
|
$(RST2HTML) $(RST_FLAGS) $< > $@
|
2021-05-20 17:09:31 +02:00
|
|
|
else
|
2021-06-30 20:51:34 +02:00
|
|
|
@echo "Missing python-docutils - skipping html page generation ($@)"
|
2021-05-20 17:09:31 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2020-07-17 00:53:31 +02:00
|
|
|
if HAVE_PYDOCUTILS
|
2021-06-30 20:51:34 +02:00
|
|
|
dist_noinst_DATA += $(build_man_pages)
|
|
|
|
dist_html_DATA = $(build_html_pages)
|
2020-07-17 00:53:31 +02:00
|
|
|
|
|
|
|
# Failsafe - do not delete these files unless we can recreate them
|
2021-06-30 20:51:34 +02:00
|
|
|
CLEANFILES = $(build_man_pages) $(build_html_pages)
|
2020-07-17 00:53:31 +02:00
|
|
|
|
2020-10-29 22:32:59 +01:00
|
|
|
endif
|
|
|
|
|
2020-07-17 00:53:31 +02:00
|
|
|
if WIN32
|
2012-02-29 21:11:59 +01:00
|
|
|
else
|
2021-06-30 20:51:34 +02:00
|
|
|
dist_man_MANS = $(build_man_pages)
|
2012-02-29 21:11:59 +01:00
|
|
|
endif
|
|
|
|
|
2021-06-30 20:51:34 +02:00
|
|
|
dist-hook : $(build_man_pages) $(build_html_pages)
|