summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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