* Makefile: Fix build error caused by filenames containing '`'.
authorJonathan Pryor <jpryor@novell.com>
Mon, 27 Oct 2008 14:53:28 +0000 (14:53 -0000)
committerJonathan Pryor <jpryor@novell.com>
Mon, 27 Oct 2008 14:53:28 +0000 (14:53 -0000)
svn path=/trunk/mcs/; revision=117168

mcs/tools/mdoc/ChangeLog
mcs/tools/mdoc/Makefile

index cd4766fe8fb51c398082aefd27cc1d42228c03aa..d2e77baea7d5c4aabb5dfadaea7354b46df4eaa2 100644 (file)
@@ -1,3 +1,7 @@
+2008-10-27  Jonathan Pryor <jpryor@novell.com>
+
+       * Makefile: Fix build error caused by filenames containing '`'.
+
 2008-10-27  Jonathan Pryor <jpryor@novell.com>
 
        * Mono.Documentation/mdoc.cs: TraceLevel.Error messages should go to
index 3f7ebba56e0b873b82622732dcca9c052139e957..d77df6812c1c690ad2488adc9a81850f163f9f87 100644 (file)
@@ -25,9 +25,7 @@ MDOC_TEST_FILES = \
        Test/TestEcmaDocs.xml                                     \
        Test/validate.check.monodocer                             \
        Test/validate.check.monodocer.importslashdoc              \
-       Test/validate.check.monodocer.since                       \
-       $(shell find Test/en.expected* -name \*.xml)              \
-       $(shell find Test/html.expected* -name \*.html)
+       Test/validate.check.monodocer.since
 
 EXTRA_DISTFILES = \
        $(MDOC_RESOURCES) \
@@ -54,6 +52,14 @@ MONO = \
 monodocer1.exe : Mono.Documentation/monodocer.cs
        $(CSCOMPILE1) -debug+ -d:NET_1_0 Mono.Documentation/monodocer.cs -out:$@ -r:Mono.GetOptions
 
+dist-local: dist-default dist-tests
+
+dist-tests:
+       find Test/en.expected* -name '*.xml'     > .files
+       find Test/html.expected* -name '*.html' >> .files
+       tar cTf .files - | (cd $(distdir); tar xf -)
+       rm .files ; \
+
 test-local: $(PROGRAM)
 
 clean-local: cleanup