fix debian package builds (#554)

* fix debian builds

issue described: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/550

* add cmake3 dependency (for ubuntu 14.04)

* "compat" belongs to debian/ subfolder

that file is not needed in root folder

* update debian package version

* compare debian/changelog and src/CurrentBuild.txt
This commit is contained in:
Ilya Shipitsin authored and Moataz Elmasry committed 2018-06-28 13:23:21 +02:00
1 parent 1e8cf1dc5d
commit be0ebb65c1
11 files changed
+54 -12

No files matched your search

Vendored
+6 -1
View File
@@ -21,7 +21,12 @@ if [ ! -d "tmp" ]; then
mkdir tmp
fi
(cd tmp && cmake .. || exit 1)
if [ ! -z ${CMAKE_INSTALL_PREFIX+x} ]; then
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
fi
(cd tmp && cmake ${CMAKE_FLAGS} .. || exit 1)
echo ""