From 8c9076224a78ba2168e99a9559f263d0d5ecede1 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 15 Aug 2006 16:06:42 +0200 Subject: Also install inotail manpage on 'make install' --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ea4657..66ea46c 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ VERSION = 0.1 # Paths prefix = $(HOME) BINDIR = $(prefix)/bin +MANDIR = $(prefix)/share/man DESTDIR = CC := gcc @@ -27,7 +28,8 @@ inotail: inotail.o $(CC) $(CFLAGS) -c $< -o $@ install: inotail - install -m 775 inotail $(DESTDIR)$(BINDIR) + install -m 775 -D inotail $(DESTDIR)$(BINDIR) + install -m 644 -D inotail.1 $(DESTDIR)$(MANDIR)/man1/inotail.1 cscope: cscope -b -- cgit v1.2.3-54-g00ecf