summaryrefslogtreecommitdiff
path: root/version.sh
blob: 8a58aefd47cf335da2de0c193fffea2f54527080 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

if git describe > version.tmp
then
    echo "m4_define([VERSION_NUMBER], [`tr -d '\n' < version.tmp`])" \
        > version.m4
fi
rm version.tmp