man 1 fio
I have put together a draft man page for fio. The contents are from
fio's HOWTO and README documents and edited for brevity and the odd
typo. The point is not to replace the existing docmentation, but to
serve as a quick reference.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/Makefile b/Makefile
index e6baade..2acc918 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@
INSTALL = install
prefix = /usr/local
bindir = $(prefix)/bin
+mandir = $(prefix)/man
all: $(PROGS) $(SCRIPTS)
@@ -52,6 +53,8 @@
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