diff options
author | Jonathan Pryor <jpryor@novell.com> | 2008-10-18 19:49:11 +0400 |
---|---|---|
committer | Jonathan Pryor <jpryor@novell.com> | 2008-10-18 19:49:11 +0400 |
commit | 9de7b7e5ed59ee3a7b6923bf65d7c2dd1665b771 (patch) | |
tree | 329415783050226807bf5d98e16c682fc8b7203a /mcs/build | |
parent | fd99bc1cf16833dd957f796f2ff354c8cfcc2c74 (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/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/build/rules.make | 5 |
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) |