2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 21:07:43 +00:00
criu/Documentation/Makefile
Cyrill Gorcunov 3876cadad1 make: docs -- Use Makefile.inc
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-02-01 15:12:19 +04:00

21 lines
392 B
Makefile

-include ../Makefile.inc
ASCIIDOC := asciidoc
A2X := a2x
XMLTO := xmlto
SRC := crtools.txt
MANS := $(patsubst %.txt,%.1,$(SRC))
all: $(MANS)
%.1: %.txt
$(E) " GEN " $@
$(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.1,%.xml,$@) $<
$(Q) $(XMLTO) man --skip-validation $(patsubst %.1,%.xml,$@) 2>/dev/null
clean:
$(E) " CLEAN "
$(Q) rm -f ./*.xml
$(Q) rm -f ./*.1