sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / tools / kvm / kvm_stat / Makefile
blob5b1cba57e3b3a25dfa642c4afd1e17fb543cafbf
1 include ../../scripts/Makefile.include
2 include ../../scripts/utilities.mak
3 BINDIR=usr/bin
4 MANDIR=usr/share/man
5 MAN1DIR=$(MANDIR)/man1
7 MAN1=kvm_stat.1
9 A2X=a2x
10 a2x_path := $(call get-executable,$(A2X))
12 all: man
14 ifneq ($(findstring $(MAKEFLAGS),s),s)
15 ifneq ($(V),1)
16 QUIET_A2X = @echo ' A2X '$@;
17 endif
18 endif
20 %.1: %.txt
21 ifeq ($(a2x_path),)
22 $(error "You need to install asciidoc for man pages")
23 else
24 $(QUIET_A2X)$(A2X) --doctype manpage --format manpage $<
25 endif
27 clean:
28 rm -f $(MAN1)
30 man: $(MAN1)
32 install-man: man
33 install -d -m 755 $(INSTALL_ROOT)/$(MAN1DIR)
34 install -m 644 kvm_stat.1 $(INSTALL_ROOT)/$(MAN1DIR)
36 install-tools:
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