Fixed version extraction

This commit is contained in:
Jan Möbius
2022-01-18 11:41:16 +01:00
parent 60d5bb4ee6
commit 776c545dfb

View File

@@ -10,7 +10,7 @@ make doc
cd ..
# Extract Version Information
VERSION=OpenMesh-$(cat VERSION | grep VERSION | tr -d "VERSION=")
VERSION=OpenMesh-$(cat CMakeLists.txt | grep VERSION | grep -v cmake | grep -v CMAKE | tr -d "VERSION=" | tr -d " ")
# Create Publishing directory
mkdir $VERSION