#!/bin/bash cat < git-version.h #define GIT_VERSION 0x$(git describe --always) EOF