2009-01-22 Zoltan Varga <vargaz@gmail.com>
[mono.git] / docs / docs.make
index d649fa281ad1407a7abb673b976add76b0325621..50a001f5f29addfbd64ab8b9ffdb023a1bd56e66 100644 (file)
@@ -11,17 +11,17 @@ convert.exe: convert.cs AgilityPack.dll
        $(CSCOMPILE) -out:$@ $< -r:AgilityPack.dll
 
 monoapi.zip: monoapi.tree
-       @test -f $@ || { rm -f $<; $(MAKE) $<; }
+       @test -f $@ || { rm -f $< && $(MAKE) $<; }
 monoapi.tree: toc.xml docs.make
        $(MDOC) assemble -o monoapi -f hb $<
 
 mono-tools.zip: mono-tools.tree
-       @test -f $@ || { rm -f $<; $(MAKE) $<; }
+       @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
-       @test -f $@ || { rm -f $<; $(MAKE) $<; }
+       @test -f $@ || { rm -f $< && $(MAKE) $<; }
 mono-file-formats.tree: mono-file-formats.config docs.make
        $(MDOC) assemble -o mono-file-formats -f man $<