Files
veejay/veejay-current/veejay-server/buildinfo.sh
Niels Elburg 913a5a83b4 add build.sh
git-svn-id: svn://code.dyne.org/veejay/trunk@1341 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
2009-07-10 17:07:20 +00:00

18 lines
362 B
Bash
Executable File

#!/bin/sh
HOST=`uname -n`
KERNEL=`uname -r`
MACHINE=`uname -m`
OS=`uname -s`
DATE=`date -u "+%Y-%m-%d %H:%M:%S"`
cat <<EOF >build.h
/*
* buildinfo.h
* Do not edit this file, it is auto-generated.
*/
#define BUILD_HOSTNAME "${HOST}"
#define BUILD_KERNEL "${KERNEL}"
#define BUILD_MACHINE "${MACHINE}"
#define BUILD_OS "${OS}"
#define BUILD_DATE "${DATE} UTC"
EOF