mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-05-28 04:03:29 -04:00
build: windows: install version.sh to allow installer read version
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
14a131ac1c
commit
6187644b66
4 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -39,6 +39,7 @@ m4/ltsugar.m4
|
|||
m4/ltversion.m4
|
||||
m4/lt~obsolete.m4
|
||||
|
||||
version.sh
|
||||
msvc-env-local.bat
|
||||
config-msvc-local.h
|
||||
config-msvc-version.h
|
||||
|
|
|
|||
|
|
@ -69,3 +69,8 @@ endif
|
|||
dist_noinst_HEADERS = \
|
||||
config-msvc.h \
|
||||
config-msvc-version.h.in
|
||||
|
||||
if WIN32
|
||||
rootdir=$(prefix)
|
||||
root_DATA = version.sh
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -904,6 +904,7 @@ AC_SUBST([OPTIONAL_PKCS11_HELPER_LIBS])
|
|||
AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
version.sh
|
||||
Makefile
|
||||
build/Makefile
|
||||
build/msvc/Makefile
|
||||
|
|
|
|||
4
version.sh.in
Normal file
4
version.sh.in
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
OPENVPN_PACKAGE_NAME="@PACKAGE_NAME@"
|
||||
OPENVPN_PACKAGE_TARNAME="@PACKAGE_TARNAME@"
|
||||
OPENVPN_PACKAGE_VERSION="@PACKAGE_VERSION@"
|
||||
OPENVPN_PACKAGE_HOST="@host@"
|
||||
Loading…
Reference in a new issue