diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -8,6 +8,8 @@ VERSION = 0.2 # Paths DESTDIR = /usr/local +BINDIR = $(DESTDIR)/bin +MANDIR = $(DESTDIR)/share/man/man1 CC := gcc CFLAGS := $(CFLAGS) -W -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \ @@ -29,8 +31,8 @@ inotail: inotail.o $(CC) $(CFLAGS) -c $< -o $@ install: inotail - install -m 775 -D inotail $(DESTDIR)/bin/inotail - install -m 644 -D inotail.1 $(DESTDIR)/share/man/man1/inotail.1 + install -m 775 -D inotail $(BINDIR)/inotail + install -m 644 -D inotail.1 $(MANDIR)/inotail.1 cscope: cscope -b |