The problem is build sanity: it's possible to disable the 4.0 profile
(--with-profile4=no) while not disabling documentation building
(--with-mcs-docs=yes is the default). The result would be a 4.0-less
build, and thus no mdoc, and thus no mdoc to assemble the documentation,
and thus a build break as we attempted to use an app during the build
which didn't exist.
Oops.
mdoc doesn't need to be a 4.0 app anyway...
$(per_profile_dirs) \
corcompare \
mono-xmltool \
- mdoc \
mono-shlib-cop \
sgen \
mconfig \
net_2_0_dirs := \
$(per_profile_dirs) \
+ mdoc \
monodoc \
compiler-tester
/r:System.Web.dll \
/r:System.Xml.Linq.dll \
/r:ICSharpCode.SharpZipLib.dll \
- /r:$(topdir)/class/lib/net_4_0/Mono.Cecil.dll
+ /r:Mono.Cecil.dll
LOCAL_MCS_FLAGS = $(MDOC_COMMON_FLAGS) \
/r:$(topdir)/class/lib/net_2_0/monodoc.dll
%_mandir/man1/monodocer.1%ext_man
%_mandir/man1/monodocs2html.1%ext_man
%_mandir/man5/mdoc.5%ext_man
-%_prefix/lib/mono/4.0/mdoc.exe*
+%_prefix/lib/mono/2.0/mdoc.exe*
%_prefix/lib/mono/4.0/mod.exe*
%_prefix/lib/mono/gac/monodoc
%_prefix/lib/mono/monodoc
csharp2$(SCRIPT_SUFFIX) \
gacutil2$(SCRIPT_SUFFIX) \
gmcs$(SCRIPT_SUFFIX) \
+ mdoc$(SCRIPT_SUFFIX) \
monop2$(SCRIPT_SUFFIX) \
resgen2$(SCRIPT_SUFFIX) \
wsdl2$(SCRIPT_SUFFIX)
installvst$(SCRIPT_SUFFIX) \
genxs$(SCRIPT_SUFFIX) \
macpack$(SCRIPT_SUFFIX) \
- mdoc$(SCRIPT_SUFFIX) \
mono-cil-strip$(SCRIPT_SUFFIX) \
prj2make$(SCRIPT_SUFFIX) \
soapsuds$(SCRIPT_SUFFIX) \