From 734aab85f3a225a648733436377cdcc5dc0b0a1e Mon Sep 17 00:00:00 2001 From: Timotheus Pokorra Date: Wed, 4 Jun 2014 08:34:09 +0200 Subject: explicitly generate buildinfo during make dist; fixing problems with comments in Makefile, caused by my previous commit --- main/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/Makefile.am') diff --git a/main/Makefile.am b/main/Makefile.am index 61e66557d2..5f36eb9c41 100644 --- a/main/Makefile.am +++ b/main/Makefile.am @@ -24,9 +24,9 @@ vcrevision: $(buildinfo): @mkdir -p "$(top_builddir)/build/bin" - # in a tarball, there is a generated buildinfo, which needs to be copied to the right place - # otherwise, the file buildinfo will be generated based on git revision etc. - @if [ -f "$(top_srcdir)/buildinfo" ]; then cp "$(top_srcdir)/buildinfo" "$(top_builddir)/build/bin/buildinfo"; else $(MD_CONFIGURE) gen-buildinfo "$(top_builddir)/build/bin"; fi +# in a tarball, there is a generated buildinfo, which needs to be copied to the right place +# otherwise, the file buildinfo will be generated based on git revision etc. + @if test -f "$(top_srcdir)/buildinfo"; then cp "$(top_srcdir)/buildinfo" "$(top_builddir)/build/bin/buildinfo"; else $(MD_CONFIGURE) gen-buildinfo "$(top_builddir)/build/bin"; fi @echo "Updated build information" @cat $(buildinfo) -- cgit v1.2.3