Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotheus Pokorra <timotheus.pokorra@solidcharity.com>2014-06-03 23:13:46 +0400
committerTimotheus Pokorra <timotheus.pokorra@solidcharity.com>2014-06-03 23:13:46 +0400
commitda0a1fcf837802b82fdeec0ced5122aa751757b9 (patch)
tree6c756b886dd7f913c761205016d128f43f417d41 /main/Makefile.am
parent6746db0983ecb7522f94d489318ee0ba250b6740 (diff)
put the buildinfo file into the top srcdir of the tarball.
the buildinfo target should check if that file exists in the top srcdir, and copy it, or generate with the configure.exe from scripts directory, if the file does not exist yet
Diffstat (limited to 'main/Makefile.am')
-rw-r--r--main/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/Makefile.am b/main/Makefile.am
index 25f753a494..61e66557d2 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -24,7 +24,9 @@ vcrevision:
$(buildinfo):
@mkdir -p "$(top_builddir)/build/bin"
- @$(MD_CONFIGURE) gen-buildinfo "$(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
@echo "Updated build information"
@cat $(buildinfo)