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:
authorJonathan Pryor <jpryor@novell.com>2008-10-18 19:49:11 +0400
committerJonathan Pryor <jpryor@novell.com>2008-10-18 19:49:11 +0400
commit9de7b7e5ed59ee3a7b6923bf65d7c2dd1665b771 (patch)
tree329415783050226807bf5d98e16c682fc8b7203a /mcs/build
parentfd99bc1cf16833dd957f796f2ff354c8cfcc2c74 (diff)
* rules.make (dist-default): Distribute the Documentation directory,
if present. svn path=/trunk/mcs/; revision=116379
Diffstat (limited to 'mcs/build')
-rw-r--r--mcs/build/ChangeLog5
-rw-r--r--mcs/build/rules.make5
2 files changed, 10 insertions, 0 deletions
diff --git a/mcs/build/ChangeLog b/mcs/build/ChangeLog
index 4043e18dee3..c683d8bc50b 100644
--- a/mcs/build/ChangeLog
+++ b/mcs/build/ChangeLog
@@ -1,5 +1,10 @@
2008-10-18 Jonathan Pryor <jpryor@novell.com>
+ * rules.make (dist-default): Distribute the Documentation directory,
+ if present.
+
+2008-10-18 Jonathan Pryor <jpryor@novell.com>
+
* rules.make (MDOC): MONO_PATH needs to include net_1_1 so monodoc.dll
can be found.
diff --git a/mcs/build/rules.make b/mcs/build/rules.make
index 6bd50c9158b..2d3d124412a 100644
--- a/mcs/build/rules.make
+++ b/mcs/build/rules.make
@@ -172,6 +172,11 @@ dist-default:
dest=`dirname $(distdir)/$$f` ; \
$(MKINSTALLDIRS) $$dest && cp -p $$f $$dest || exit 1 ; \
done
+ if test -d Documentation ; then \
+ find . -name '*.xml' > .files ; \
+ tar cTf .files - | (cd $(distdir); tar xf -) ; \
+ rm .files ; \
+ fi
%/.stamp:
$(MKINSTALLDIRS) $(@D)