2023-05-14 16:58:55 +02:00
|
|
|
#!/bin/csh -f
|
|
|
|
cat <<!
|
|
|
|
#include "version.h"
|
|
|
|
const char LA::version[] =
|
|
|
|
!
|
|
|
|
echo -n '"'
|
|
|
|
echo -n `git describe`
|
|
|
|
echo -n ' HEAD commit = '
|
|
|
|
set head=`git rev-parse HEAD`
|
|
|
|
echo -n $head
|
|
|
|
echo -n ' dated '
|
|
|
|
echo -n `git show -s --format=%ci $head`
|
2023-05-14 21:00:45 +02:00
|
|
|
echo -n ' compiled on ' `date` 'at' `hostname` 'by' `whoami`
|
2023-05-14 16:58:55 +02:00
|
|
|
echo -n '"'
|
|
|
|
echo ';'
|