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
path: root/mcs/build
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2008-11-18 21:27:20 +0300
committerRaja R Harinath <harinath@hurrynot.org>2008-11-18 21:27:20 +0300
commit5cef7ae484483b248053e1d5f5b622227fc58f30 (patch)
tree2c10f350a20b4bf549dec96332aa95e525c78ab2 /mcs/build
parent295e584514d228d3f67285c75730402425671b7b (diff)
A micro-optimization of 'make dist'
* library.make (TEST_FILES): Notice filenames with ../ in the test sources file, and handle them in a way suitable for the 'make dist' handling of such files. svn path=/trunk/mcs/; revision=119196
Diffstat (limited to 'mcs/build')
-rw-r--r--mcs/build/ChangeLog6
-rw-r--r--mcs/build/library.make4
2 files changed, 8 insertions, 2 deletions
diff --git a/mcs/build/ChangeLog b/mcs/build/ChangeLog
index a4ebe63105d..cd510a8cfa1 100644
--- a/mcs/build/ChangeLog
+++ b/mcs/build/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-18 Raja R Harinath <harinath@hurrynot.org>
+
+ * library.make (TEST_FILES): Notice filenames with ../ in the test
+ sources file, and handle them in a way suitable for the 'make
+ dist' handling of such files.
+
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* library.make: AOT the library after compilation if the AOT_IN_PROFILES
diff --git a/mcs/build/library.make b/mcs/build/library.make
index 0d02a64ddce..c36325f1132 100644
--- a/mcs/build/library.make
+++ b/mcs/build/library.make
@@ -231,11 +231,11 @@ DISTFILES = $(wildcard *$(LIBRARY)*.sources) $(EXTRA_DISTFILES)
TEST_FILES =
ifdef HAVE_CS_TESTS
-TEST_FILES += `sed -e '/^$$/d' -e 's,^,Test/,' $(test_sourcefile)`
+TEST_FILES += `sed -e '/^$$/d' -e 's,^../,,' -et -e 's,^,Test/,' $(test_sourcefile)`
DISTFILES += $(test_sourcefile)
endif
ifdef HAVE_VB_TESTS
-TEST_FILES += `sed -e '/^$$/d' -e 's,^,Test/,' $(btest_sourcefile)`
+TEST_FILES += `sed -e '/^$$/d' -e 's,^../,,' -et -e 's,^,Test/,' $(btest_sourcefile)`
DISTFILES += $(btest_sourcefile)
endif