From 55a264dfdc8210ccc029f4080f52436e4808b841 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 30 Apr 2006 14:39:28 +0200 Subject: [PATCH] [PATCH] Install man pages as well with make install --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 7890cf8..5690727 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CC = gcc CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 PROGS = ktee ktee-net splice-cp splice-in splice-out splice-net splice-test4c splice-test4s vmsplice splice-bench +MANS = splice.2 tee.2 vmsplice.2 all: depend $(PROGS) @@ -16,10 +17,12 @@ clean: INSTALL = install prefix = /usr/local bindir = $(prefix)/bin +mandir = $(prefix)/man install: $(PROGS) $(INSTALL) -m755 -d $(DESTDIR)$(bindir) $(INSTALL) $(PROGS) $(DESTDIR)$(bindir) + $(INSTALL) $(MANS) $(DESTDIR)$(mandir)/man2 ifneq ($(wildcard .depend),) include .depend -- 2.25.1