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/docs
diff options
context:
space:
mode:
authorAndreia Gaita <avidigal@novell.com>2010-04-06 19:34:57 +0400
committerAndreia Gaita <avidigal@novell.com>2010-04-06 19:34:57 +0400
commitfcf742c72fd5419fe5e8ba46596f96af923de131 (patch)
treeacf3e227f5ff08615d6e8d904144cc2751b77285 /docs
parent1805f1d3e9a96fe3826f7e8f04f9d11849e13986 (diff)
* docs/Makefile.am: fix distcheck - several targets get built on the
srcdir, which has no write permissions on make distcheck, so make sure permissions are set svn path=/trunk/mono/; revision=154859
Diffstat (limited to 'docs')
-rw-r--r--docs/ChangeLog6
-rw-r--r--docs/Makefile.am19
2 files changed, 18 insertions, 7 deletions
diff --git a/docs/ChangeLog b/docs/ChangeLog
index b78903a7cb4..04f9755dd27 100644
--- a/docs/ChangeLog
+++ b/docs/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-06 Andreia Gaita <avidigal@novell.com>
+
+ * Makefile.am: fix distcheck - several targets get built on the
+ srcdir, which has no write permissions on make distcheck, so make
+ sure permissions are set
+
2009-12-22 Jo Shields <directhex@apebox.org>
* HtmlAgilityPack/LICENSE: Include upstream license (Ms-PL) since the
file headers don't specify it
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 639b7537d26..c0450027cfd 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -79,21 +79,21 @@ clean-local:
monoapi.zip: monoapi.tree
@test -f $@ || { rm -f $(srcdir)/monoapi.tree && $(MAKE) monoapi.tree; }
-monoapi.tree: docs.make Makefile.am toc.xml $(srcdir)/deploy/.stamp
- cd $(srcdir) && cp api-style.css deploy
+monoapi.tree: docs.make Makefile.am toc.xml $(srcdir)/deploy/.stamp perms
+ cd $(srcdir) && cp -f api-style.css deploy
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
mono-tools.zip: mono-tools.tree
@test -f $@ || { rm -f $(srcdir)/mono-tools.tree && $(MAKE) mono-tools.tree; }
-mono-tools.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp
+mono-tools.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp perms
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
-mono-file-formats.zip: mono-file-formats.tree
+mono-file-formats.zip: mono-file-formats.tree perms
@test -f $@ || { rm -f $(srcdir)/mono-file-formats.tree && $(MAKE) mono-file-formats.tree; }
mono-file-formats.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
-$(srcdir)/deploy/.stamp: convert.exe Makefile.am
+$(srcdir)/deploy/.stamp: convert.exe Makefile.am perms
$(mkdir_p) $(srcdir)/html
runtimedir=`cd ../runtime && pwd`; export runtimedir; \
cd $(srcdir) && MONO_PATH=$(mcs_topdir_from_srcdir)/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c
@@ -101,8 +101,13 @@ $(srcdir)/deploy/.stamp: convert.exe Makefile.am
extract: $(srcdir)/deploy/.stamp
-convert.exe: convert.cs AgilityPack.dll
+convert.exe: convert.cs AgilityPack.dll perms
cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) convert.exe
-AgilityPack.dll:
+AgilityPack.dll: perms
cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) AgilityPack.dll
+
+.PHONY: perms
+perms:
+ -@test -w $(srcdir) || chmod a+w $(srcdir)
+