From bdce238cdaac64fad066f8d2eb92883a9c309a55 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 28 Mar 2007 12:40:00 +0200 Subject: Makefile: Clean up some more --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8a266b4..f2227ad 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-54-g00ecf