]> mj.ucw.cz Git - eval.git/blob - isolate/Makefile
Merge branch 'container'
[eval.git] / isolate / Makefile
1 # Makefile for Moe isolator
2 # (c) 2012 Martin Mares <mj@ucw.cz>
3
4 DIRS+=isolate
5 PROGS+=$(o)/isolate/isolate
6
7 DOCS+=$(o)/isolate/isolate.1 $(o)/isolate/isolate.1.html
8 MAN1DIR=share/man/man1
9 EXTRA_RUNDIRS+=$(MAN1DIR)
10
11 $(o)/isolate/isolate: $(o)/isolate/isolate.o
12
13 $(o)/isolate/isolate.1: $(s)/isolate/isolate.1.txt
14         $(M)"MAN $<"
15         $(Q)a2x -f manpage -D $(o)/isolate $<
16         $(Q)$(call symlink,$@,run/$(MAN1DIR))
17
18 # The dependency on isolate.1 is there to serialize both calls of asciidoc,
19 # which does not name temporary files safely.
20 $(o)/isolate/isolate.1.html: $(s)/isolate/isolate.1.txt $(o)/isolate/isolate.1
21         $(M)"HTML $<"
22         $(Q)a2x -f xhtml -D $(o)/isolate $<