Browse Source

Fix VERSION: add opton --always to git describe

led_matrix
tmk 10 years ago
parent
commit
7e8a85caad
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      common.mk

+ 1
- 1
common.mk View File

@@ -74,7 +74,7 @@ ifdef KEYMAP_SECTION_ENABLE
endif

# Version string
OPT_DEFS += -DVERSION=$(shell (git describe --dirty || echo 'unknown') 2> /dev/null)
OPT_DEFS += -DVERSION=$(shell (git describe --always --dirty || echo 'unknown') 2> /dev/null)


# Search Path