mirror of
https://github.com/OpenVPN/openvpn.git
synced 2025-05-09 21:51:05 +08:00
build: distribute samples in windows
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: Samuli Seppänen <samuli@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
This commit is contained in:
parent
6187644b66
commit
880a2ae97c
@ -903,6 +903,9 @@ AC_SUBST([OPTIONAL_PKCS11_HELPER_LIBS])
|
|||||||
|
|
||||||
AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
|
AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
|
||||||
|
|
||||||
|
sampledir="\$(docdir)/sample"
|
||||||
|
AC_SUBST([sampledir])
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
version.sh
|
version.sh
|
||||||
Makefile
|
Makefile
|
||||||
|
@ -17,3 +17,17 @@ EXTRA_DIST = \
|
|||||||
sample-windows \
|
sample-windows \
|
||||||
sample-keys \
|
sample-keys \
|
||||||
sample-scripts
|
sample-scripts
|
||||||
|
|
||||||
|
if WIN32
|
||||||
|
sample_DATA = \
|
||||||
|
client.ovpn \
|
||||||
|
server.ovpn \
|
||||||
|
sample-windows/sample.ovpn
|
||||||
|
|
||||||
|
client.ovpn: sample-config-files/client.conf
|
||||||
|
-rm -f client.ovpn
|
||||||
|
cp "$(srcdir)/sample-config-files/client.conf" client.ovpn
|
||||||
|
server.ovpn: sample-config-files/server.conf
|
||||||
|
-rm -f server.ovpn
|
||||||
|
cp "$(srcdir)/sample-config-files/server.conf" server.ovpn
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user