mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
This removes an old and broken patch that did not allow for clean builds of Mono. The old patch was so bad, that instead of fixing the actual source of the problem (the ability to build the runtime documentation when the source directory was not the same as the build directory), a hack was added to circumvent `make distcheck''s security system and changed the permissions at build time for the source directory to become read/write. This fixes the problem
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
#
|
|
# This makefile is here because it uses the configuration from the
|
|
# in-place built mono to run and compile a few C# tools
|
|
#
|
|
|
|
thisdir = docs
|
|
SUBDIRS =
|
|
include $(topdir)/build/rules.make
|
|
|
|
ASSEMBLED_DOCS = \
|
|
mono-file-formats.tree mono-file-formats.zip \
|
|
mono-tools.tree mono-tools.zip \
|
|
monoapi.tree monoapi.zip
|
|
|
|
convert.exe: $(srcdir)/convert.cs AgilityPack.dll
|
|
$(CSCOMPILE) -out:$@ $< -r:AgilityPack.dll
|
|
|
|
AgilityPack.dll:
|
|
$(CSCOMPILE) -target:library -out:$@ $(srcdir)/HtmlAgilityPack/*.cs
|
|
|
|
monoapi.zip: monoapi.tree
|
|
@test -f $@ || { rm -f $< && $(MAKE) $<; }
|
|
|
|
monoapi.tree: $(srcdir)/toc.xml $(srcdir)/docs.make
|
|
$(MDOC) assemble -o monoapi -f hb $<
|
|
|
|
mono-tools.zip: mono-tools.tree
|
|
@test -f $@ || { rm -f $< && $(MAKE) $<; }
|
|
|
|
mono-tools.tree: $(srcdir)/mono-tools.config $(srcdir)/docs.make
|
|
$(MDOC) assemble -o mono-tools -f man $<
|
|
|
|
mono-file-formats.zip: mono-file-formats.tree
|
|
@test -f $@ || { rm -f $< && $(MAKE) $<; }
|
|
|
|
mono-file-formats.tree: $(srcdir)/mono-file-formats.config $(srcdir)/docs.make
|
|
$(MDOC) assemble -o mono-file-formats -f man $<
|
|
|
|
.doc-stamp:
|
|
|