blob: 9026baa5525182a62b676bca1d1ec0e516c3128c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
ASCIIDOC=asciidoc
XMLTO=xmlto
MANMAN=doc/latrace.1
MANTXT=doc/latrace.txt
MANXML=doc/latrace.xml
MANHTML=doc/latrace.html
.PHONY: doc man htmlman
doc: $(MANMAN) $(MANHTML)
$(MANMAN): $(MANTXT)
$(QUIET_ASCIIDOC)$(ASCIIDOC) -f doc/asciidoc.conf -b docbook -d manpage -o $(MANXML) $(MANTXT)
$(QUIET_XMLTO)$(XMLTO) -o doc man $(MANXML)
$(MANHTML): $(MANTXT)
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 -d manpage --unsafe -o $(MANHTML) $(MANTXT)
clean::
$(call remove, $(MANXML) $(MANHTML) $(MANMAN))
install:: doc
$(call install,$(MANMAN),$(mandir)/man1,644)
|