etmc/tmLQCD — pull request #31 by kostrzewa (2012-01-18 11:33:54+00:00)
Title: Fix for issue 5 (versioning)

Implemented GIT-VERSION-GEN script to extract version information from git to fix issue 5 (github).

The script checks for the existence of git_hash.h and creates it otherwise. To do so it checks
if the git command is executable and whether it is run in a git repo. If the file does not exist
and/or there is no git command or git directory available, it writes a default version. (this is
extracted from configure.in if available)
Modified Makefile.in to run the script before any building operation.
Added flag (-V) to hmc_tm and invert which displays version information and exits.