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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2005-10-20 12:10:36 +0400
committerRaja R Harinath <harinath@hurrynot.org>2005-10-20 12:10:36 +0400
commitc7b47f2b373aaabda54280a5874005617645dc70 (patch)
tree86c058280f7bfefec1cfba400e411cf6498875a8 /Makefile.am
parent6c0b5cff0d96e1b0b347cbaca1e4f3f818338bc3 (diff)
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New. Make 'distcheck'
compile with the 'monolite' in the distribution tarball. (compiler-tests-net_2_0): Avoid deleting $(mcs_topdir)/build/common/Consts.cs. svn path=/trunk/mono/; revision=51970
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 49c871120a6..11b8df364a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,6 +11,8 @@ vs_files = genmdesc.vcproj libmono.vcproj mono.vcproj mono.sln
EXTRA_DIST= mono.pc.in mint.pc.in mono-uninstalled.pc.in dotnet.pc.in $(vs_files)
+DISTCHECK_CONFIGURE_FLAGS = EXTERNAL_MCS=false EXTERNAL_RUNTIME=false
+
# Distribute the 'mcs' tree too
dist-hook:
test -d $(distdir)/mcs || mkdir $(distdir)/mcs
@@ -42,8 +44,11 @@ compiler-tests: mcs-do-clean
$(MAKE) mcs-do-compiler-tests
compiler-tests-net_2_0:
+ -rm -f $(mcs_topdir)/build/common/Consts.cs.save
+ -mv -f $(mcs_topdir)/build/common/Consts.cs $(mcs_topdir)/build/common/Consts.cs.save
cd $(mcs_topdir) && $(MAKE) PROFILE=net_2_0_bootstrap clean
cd $(mcs_topdir) && $(MAKE) PROFILE=net_2_0 clean
+ -mv -f $(mcs_topdir)/build/common/Consts.cs.save $(mcs_topdir)/build/common/Consts.cs
$(MAKE) all
$(MAKE) build_profiles=net_2_0 mcs-do-compiler-tests