diff options
author | Florian Pritz <bluewind@xssn.at> | 2010-10-24 14:45:29 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2010-10-24 14:53:45 +0200 |
commit | cd28f4053712e546baa9cb79bc25b648907c0a1c (patch) | |
tree | 6bf30d82fc70235d07b519193bb7f43d028ff864 /fb | |
parent | f2a76851979504180c86c452d9ee73d77fab2b4b (diff) |
add dist target; get version from git tags
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'fb')
-rwxr-xr-x | fb | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -11,7 +11,12 @@ # Optional: xclip #---------------------------------------------------- -VERSION="0.6.8.3" +SCRIPTDIR="`dirname "$0"`" +VERSION="`cd $SCRIPTDIR; git describe 2>/dev/null | sed 's/^v//'`" + +if [ -z "$VERSION" ]; then + VERSION="unknown" +fi DELETE= EXTENSION="" |