diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2008-11-01 11:49:01 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2008-11-01 11:49:01 +0300 |
commit | 461f3d77809025a6a38d1e96b07940c8153d3f1f (patch) | |
tree | 73d1b30e0761229ea695ff7f1f10162a60aac842 /docs/Makefile.am | |
parent | 0ddcf6a74d7648478e33c24114ca355086d988db (diff) |
* Makefile.am: Clean up for srcdir != builddir.
(deploy/.stamp): Compute location of 'mono-wrapper' and pass to exdoc.
* exdoc (mono-wrapper): Use $runtimedir to look for 'mono-wrapper'.
svn path=/trunk/mono/; revision=117609
Diffstat (limited to 'docs/Makefile.am')
-rw-r--r-- | docs/Makefile.am | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am index 63f9bfe1f35..247dfc4e4ef 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -68,26 +68,23 @@ dist-hook: cp sources/* $(distdir)/sources cp svgs/* $(distdir)/svgs -CLEANFILES = \ - convert.exe* \ - deploy/.stamp \ - $(wildcard deploy/*) \ - $(ASSEMBLED_DOCS) - clean-local: - -rm -Rf html + -rm -Rf $(srcdir)/html + -rm -f $(srcdir)/deploy/* $(srcdir)/convert.exe* + -cd $(srcdir) && rm -f $(ASSEMBLED_DOCS) -monoapi.tree monoapi.zip: monoapi.make Makefile.am toc.xml deploy/.stamp - cp api-style.css deploy - $(MAKE) -f $< topdir=$(mcs_topdir) assemble +monoapi.tree monoapi.zip: monoapi.make Makefile.am toc.xml $(srcdir)/deploy/.stamp + cp $(srcdir)/api-style.css $(srcdir)/deploy/ + cd $(srcdir) && $(MAKE) -f monoapi.make topdir=$(mcs_topdir_from_srcdir) assemble -deploy/.stamp: convert.exe Makefile.am - $(mkdir_p) html - perl exdoc -h . ../mono/*/*.c +$(srcdir)/deploy/.stamp: convert.exe Makefile.am + $(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 touch $@ -extract : deply/.stamp +extract: $(srcdir)/deploy/.stamp convert.exe: monoapi.make convert.cs Makefile.am - $(MAKE) -f $< topdir=$(mcs_topdir) convert.exe + cd $(srcdir) && $(MAKE) -f monoapi.make topdir=$(mcs_topdir_from_srcdir) convert.exe |