summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-02-29 22:12:21 +0200
committerDavid Sommerseth <davids@redhat.com>2012-03-24 00:14:23 +0100
commit880a2ae97c44d75a3529adda8a11e266fb61092e (patch)
treea931228df4cc7d077eda7703ac88033857a876e3 /sample
parent6187644b660ce284d0a706811eae2dce7cb411b2 (diff)
downloadopenvpn-880a2ae97c44d75a3529adda8a11e266fb61092e.zip
openvpn-880a2ae97c44d75a3529adda8a11e266fb61092e.tar.gz
openvpn-880a2ae97c44d75a3529adda8a11e266fb61092e.tar.xz
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>
Diffstat (limited to 'sample')
-rw-r--r--sample/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/sample/Makefile.am b/sample/Makefile.am
index 5df8d9c..8e35bfc 100644
--- a/sample/Makefile.am
+++ b/sample/Makefile.am
@@ -17,3 +17,17 @@ EXTRA_DIST = \
sample-windows \
sample-keys \
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