Commit 2b963314 authored by Michael Ott's avatar Michael Ott
Browse files

Change composition of version string to indicate tainted git repository

parent f7b3ce3c
...@@ -9,7 +9,7 @@ PLUGINS = sysfs ipmi pdu bacnet snmp procfs tester gpfsmon msr ...@@ -9,7 +9,7 @@ PLUGINS = sysfs ipmi pdu bacnet snmp procfs tester gpfsmon msr
OPERATORS = aggregator smoothing regressor classifier clustering cssignatures job_aggregator testeroperator filesink smucngperf persystsql coolingcontrol healthchecker OPERATORS = aggregator smoothing regressor classifier clustering cssignatures job_aggregator testeroperator filesink smucngperf persystsql coolingcontrol healthchecker
DEFAULT_VERSION = 0.4 DEFAULT_VERSION = 0.4
GIT_VERSION = $(shell git describe --tags 2>/dev/null|sed 's/-\([0-9]*\)/.\1/') GIT_VERSION = $(shell git describe --tags 2>/dev/null|sed -e 's/-\([0-9]*\)/.\1/'|tr -d '\n'; if ! git diff-index --quiet HEAD --; then echo "~"; fi)
VERSION := $(if $(GIT_VERSION),$(GIT_VERSION),$(DEFAULT_VERSION)) VERSION := $(if $(GIT_VERSION),$(GIT_VERSION),$(DEFAULT_VERSION))
CXXFLAGS = -std=c++11 -O2 -g -Wall -fmessage-length=0 \ CXXFLAGS = -std=c++11 -O2 -g -Wall -fmessage-length=0 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment