Browse Source

Makefile: fall-back to 'unknown-version' when 'git describe' fails

master
Matthieu Moy 9 years ago
parent
commit
754202daea
  1. 3
      Makefile

3
Makefile

@ -8,7 +8,8 @@ ifndef BASH_PATH
endif endif
BASH_PATH_SQ = $(subst ','\'',$(BASH_PATH)) BASH_PATH_SQ = $(subst ','\'',$(BASH_PATH))
GIT_LATEXDIFF_VERSION=${shell git describe --tags HEAD}
GIT_LATEXDIFF_VERSION=${shell git describe --tags HEAD 2>/dev/null || \
echo unknown-version}
gitexecdir_SQ = $(subst ','\'',$(gitexecdir)) gitexecdir_SQ = $(subst ','\'',$(gitexecdir))
gitmanpath_SQ = $(subst ','\'',$(gitmanpath)) gitmanpath_SQ = $(subst ','\'',$(gitmanpath))

Loading…
Cancel
Save