From f5acdf05e0504b8f9a8c330e89c859097a870ecd Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 19 Apr 2011 18:44:25 -0700 Subject: [PATCH] use git describe to create tarball --- xwords4/linux/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xwords4/linux/Makefile b/xwords4/linux/Makefile index d56345691..a504130a4 100644 --- a/xwords4/linux/Makefile +++ b/xwords4/linux/Makefile @@ -241,9 +241,10 @@ install: $(TARGET) cp $< $(DESTDIR)/usr/local/bin tarball: - tar chvfz xwords_$(shell svnversion ..).tgz \ + GIT_DESC=$$(git describe); \ + tar chvfz xwords_$${GIT_DESC}.tgz \ obj_linux_rel/xwords \ obj_linux_memdbg/xwords \ all_words_2to15.xwd \ - runme.sh board.txt board_empty.txt - md5sum xwords_$(shell svnversion ..).tgz > xwords_$(shell svnversion ..).tgz.md5 + runme.sh board.txt board_empty.txt; \ + md5sum xwords_$${GIT_DESC}.tgz > xwords_$${GIT_DESC}.tgz.md5