]> mj.ucw.cz Git - eval.git/commitdiff
Isolate: Serialization of calls to AsciiDoc
authorMartin Mares <mj@ucw.cz>
Mon, 24 Sep 2012 14:02:42 +0000 (16:02 +0200)
committerMartin Mares <mj@ucw.cz>
Mon, 24 Sep 2012 14:02:42 +0000 (16:02 +0200)
isolate/Makefile

index 011a005286b00970caad3e41b750c333635703e4..4b562c636e01be8927ea182e1fba55782e1892d3 100644 (file)
@@ -15,6 +15,8 @@ $(o)/isolate/isolate.1: $(s)/isolate/isolate.1.txt
        $(Q)a2x -f manpage -D $(o)/isolate $<
        $(Q)$(call symlink,$@,run/$(MAN1DIR))
 
        $(Q)a2x -f manpage -D $(o)/isolate $<
        $(Q)$(call symlink,$@,run/$(MAN1DIR))
 
-$(o)/isolate/isolate.1.html: $(s)/isolate/isolate.1.txt
+# The dependency on isolate.1 is there to serialize both calls of asciidoc,
+# which does not name temporary files safely.
+$(o)/isolate/isolate.1.html: $(s)/isolate/isolate.1.txt $(o)/isolate/isolate.1
        $(M)"HTML $<"
        $(Q)a2x -f xhtml -D $(o)/isolate $<
        $(M)"HTML $<"
        $(Q)a2x -f xhtml -D $(o)/isolate $<