Commit 8596ed90 authored by Simon Morlat's avatar Simon Morlat
Browse files

use git describe --always

parent 5a7ae95e
...@@ -362,7 +362,7 @@ img_DATA=voip/nowebcamCIF.jpg ...@@ -362,7 +362,7 @@ img_DATA=voip/nowebcamCIF.jpg
make_gitversion_h: make_gitversion_h:
if test -d $(top_srcdir)/.git ; then \ if test -d $(top_srcdir)/.git ; then \
$(ECHO) -n "#define GIT_VERSION " > $(GITVERSION_FILE_TMP) &&\ $(ECHO) -n "#define GIT_VERSION " > $(GITVERSION_FILE_TMP) &&\
$(ECHO) \"`cd $(top_srcdir) && git describe`\" >> $(GITVERSION_FILE_TMP) &&\ $(ECHO) \"`cd $(top_srcdir) && git describe --always`\" >> $(GITVERSION_FILE_TMP) &&\
if test "`cat $(GITVERSION_FILE_TMP)`" != "`cat $(srcdir)/$(GITVERSION_FILE)`" ; then \ if test "`cat $(GITVERSION_FILE_TMP)`" != "`cat $(srcdir)/$(GITVERSION_FILE)`" ; then \
cp -f $(GITVERSION_FILE_TMP) $(srcdir)/$(GITVERSION_FILE) ; \ cp -f $(GITVERSION_FILE_TMP) $(srcdir)/$(GITVERSION_FILE) ; \
fi \ fi \
......
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