summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-08-15 16:06:42 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-08-15 16:06:42 +0200
commit8c9076224a78ba2168e99a9559f263d0d5ecede1 (patch)
tree96e2a77dedec0fef23ef7f7fb01181a60d8451fb /Makefile
parent7399405b6158b88b00d22fc298846bfa8b78f804 (diff)
Also install inotail manpage on 'make install'
Diffstat (limited to 'Makefile')
-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