mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
I occasionally used assignments instead of appending manpages for generation. Fix it. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
21 lines
419 B
Makefile
21 lines
419 B
Makefile
-include ../Makefile.inc
|
|
|
|
ASCIIDOC := asciidoc
|
|
A2X := a2x
|
|
XMLTO := xmlto
|
|
|
|
SRC += crtools.txt
|
|
SRC += Makefile.build.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
|