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:
-rw-r--r--Makefile1
-rw-r--r--main/Makefile.am6
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9c18a578a9..613a3a47f0 100644
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,7 @@ dist: update_submodules remove-stale-tarballs dist-recursive
@echo Decompressing monodevelop-$(PACKAGE_VERSION).tar.bz2
@cd tarballs && tar xvjf monodevelop-$(PACKAGE_VERSION).tar.bz2
@cp version.config tarballs/monodevelop-$(PACKAGE_VERSION)
+ @cd main && make buildinfo
@cp main/build/bin/buildinfo tarballs/monodevelop-$(PACKAGE_VERSION)/
@echo Generating merged tarball
@cd tarballs && tar -cjf monodevelop-$(PACKAGE_VERSION).tar.bz2 monodevelop-$(PACKAGE_VERSION)
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)