Merge pull request #231 from linquize/a853199c497bb0977970974303fac7e42080809d
[mono.git] / docs / docs.make
index 7977ff6fa61e7db3a7b6162c877add6f8ca68746..7129bcadfc47a43ddae2a8a8209bf3bf9c8d2d9e 100644 (file)
@@ -10,17 +10,23 @@ ASSEMBLED_DOCS = \
 convert.exe: convert.cs AgilityPack.dll
        $(CSCOMPILE) -out:$@ $< -r:AgilityPack.dll
 
-monoapi.zip : monoapi.tree
+AgilityPack.dll:
+       $(CSCOMPILE) -target:library -out:$@ HtmlAgilityPack/*.cs
+
+monoapi.zip: monoapi.tree
+       @test -f $@ || { rm -f $< && $(MAKE) $<; }
 monoapi.tree: toc.xml docs.make
        $(MDOC) assemble -o monoapi -f hb $<
 
-mono-tools.zip : mono-tools.tree
+mono-tools.zip: mono-tools.tree
+       @test -f $@ || { rm -f $< && $(MAKE) $<; }
 mono-tools.tree: mono-tools.config docs.make
        $(MDOC) assemble -o mono-tools -f man $<
 
-mono-file-formats.zip : mono-file-formats.tree
+mono-file-formats.zip: mono-file-formats.tree
+       @test -f $@ || { rm -f $< && $(MAKE) $<; }
 mono-file-formats.tree: mono-file-formats.config docs.make
        $(MDOC) assemble -o mono-file-formats -f man $<
 
 .doc-stamp:
-       
+