diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |