1 include ..
/..
/scripts
/Makefile.
include
2 include ..
/..
/scripts
/utilities.mak
10 a2x_path
:= $(call get-executable
,$(A2X
))
14 ifneq ($(findstring $(MAKEFLAGS
),s
),s
)
16 QUIET_A2X
= @echo
' A2X '$@
;
22 $(error
"You need to install asciidoc for man pages")
24 $(QUIET_A2X
)$(A2X
) --doctype manpage
--format manpage
$<
33 install -d
-m
755 $(INSTALL_ROOT
)/$(MAN1DIR
)
34 install -m
644 kvm_stat
.1 $(INSTALL_ROOT
)/$(MAN1DIR
)
37 install -d
-m
755 $(INSTALL_ROOT
)/$(BINDIR
)
38 install -m
755 -p
"kvm_stat" "$(INSTALL_ROOT)/$(BINDIR)/$(TARGET)"
40 install: install-tools install-man
41 .PHONY
: all clean man install-tools install-man
install