diff options
author | Andreia Gaita <avidigal@novell.com> | 2010-04-06 19:34:57 +0400 |
---|---|---|
committer | Andreia Gaita <avidigal@novell.com> | 2010-04-06 19:34:57 +0400 |
commit | fcf742c72fd5419fe5e8ba46596f96af923de131 (patch) | |
tree | acf3e227f5ff08615d6e8d904144cc2751b77285 /docs/Makefile.am | |
parent | 1805f1d3e9a96fe3826f7e8f04f9d11849e13986 (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/Makefile.am')
-rw-r--r-- | docs/Makefile.am | 19 |
1 files changed, 12 insertions, 7 deletions
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) + |