Add pread/pwrite support to sync engine
[fio.git] / Makefile
index e6baade730307fb595d4a7c59f35f26f4a452118..2acc918d03e8a81e36e6e17e2fabfa4e9048fd90 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ OBJS += engines/guasi.o
 INSTALL = install
 prefix = /usr/local
 bindir = $(prefix)/bin
+mandir = $(prefix)/man
 
 all: $(PROGS) $(SCRIPTS)
 
@@ -52,6 +53,8 @@ $(PROGS): depend
 install: $(PROGS) $(SCRIPTS)
        $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
        $(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir)
+       $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1
+       $(INSTALL) -m 644 fio.1 $(DESTDIR)$(mandir)/man1
 
 ifneq ($(wildcard .depend),)
 include .depend