diff options
author | Michael Hutchinson <mhutchinson@novell.com> | 2010-12-24 02:11:32 +0300 |
---|---|---|
committer | Michael Hutchinson <mhutchinson@novell.com> | 2010-12-24 02:11:32 +0300 |
commit | 60fdab08e34e5a2fd4e7597f044d8976548c54ca (patch) | |
tree | 34cc0b99ae0693ae7e724a83d8755ad49a703586 /main/Makefile.am | |
parent | 621a7d96bf525855d33f1fba18a9b5eee6c844ed (diff) |
Clean up build info file, add release id
Diffstat (limited to 'main/Makefile.am')
-rw-r--r-- | main/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/Makefile.am b/main/Makefile.am index 0636a0d045..e25c3274a3 100644 --- a/main/Makefile.am +++ b/main/Makefile.am @@ -15,16 +15,16 @@ vcrevision: LANG=C; export LANG; \ git describe --dirty --always --abbrev=0 --match nothing; \ ); \ - echo "git revision: $$version" > "vcrevision"; \ + echo "$$version" > "vcrevision"; \ else \ if test ! -f ./vcrevision; then \ - echo "git revision: unknown" > "vcrevision"; \ + echo "unknown" > "vcrevision"; \ fi; \ fi $(buildinfo): vcrevision @mkdir -p "$(top_builddir)/build/bin" - @cp "$(top_srcdir)/vcrevision" "$@" + @echo "Git revision: $$(cat $(top_srcdir)/vcrevision)" > "$@" @echo "Build date: $$(date -u +'%Y-%m-%d %H:%M:%S%z')" >> "$@" @echo "Updated build information" @cat $(buildinfo) |