examples: classification example with command line defined labels and class filtering
[tidl/tidl-api.git] / tidl_api / make.buildid
index d5658e948c2681eeafea3a5a7841120a54cdf608..600c3c0212ff8d4930e680c8d52d5f7cea394b7f 100644 (file)
@@ -27,6 +27,7 @@
 MAJOR_VER=1
 MINOR_VER=0
 PATCH_VER=0
+BUILD_VER=2
 
 ifeq ($(shell git rev-parse --short HEAD 2>&1 1>/dev/null; echo $$?),0)
 BUILD_SHA?=$(shell git rev-parse --short HEAD)
@@ -34,6 +35,6 @@ endif
 
 .PHONY: $(BUILD_ID)
 BUILD_ID := -D_BUILD_VER=$(shell echo "" | \
-                awk '{ printf ("%02d.%02d.%02d", $(MAJOR_VER), \
-                $(MINOR_VER), $(PATCH_VER)); }') \
+                awk '{ printf ("%02d.%02d.%02d.%02d", $(MAJOR_VER), \
+                $(MINOR_VER), $(PATCH_VER), $(BUILD_VER)); }') \
                        -D_BUILD_SHA=$(BUILD_SHA)