blob: 8a9e38dc5e0e262621664a025271114c328acf64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#! /bin/bash
#
# Script to generate the version info of GEMMA and its environment
# in ./src/version.h
DATE=$(date "+%Y/%m/%d")
YEAR=$(date "+%Y")
echo // version.h generated by GEMMA $0
echo \#define GEMMA_VERSION \"$(cat ./VERSION)\"
echo \#define GEMMA_DATE \"$DATE\"
echo \#define GEMMA_YEAR \"$YEAR\"
|