Used xds-common version 0.1.0 or more recent
[src/xds/xds-agent.git] / Makefile
index fe910a2..1d13554 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ ifeq ($(origin SUB_VERSION), undefined)
        ifneq ($(SUB_VERSION), )
                VERSION := $(firstword $(subst -, ,$(SUB_VERSION)))
                SUB_VERSION := $(word 2,$(subst -, ,$(SUB_VERSION)))
-       else
+       endif
+       ifeq ($(SUB_VERSION), )
                SUB_VERSION := $(shell git rev-parse --short HEAD)
                ifeq ($(SUB_VERSION), )
                        SUB_VERSION := unknown-dev
@@ -149,7 +150,7 @@ tools/syncthing/copytobin:
 help:
        @echo "Main supported rules:"
        @echo "  all               (default)"
-       @echo "  build
+       @echo "  build"
        @echo "  package"
        @echo "  install"
        @echo "  clean"