summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 12ba6c7..8a266b4 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,7 @@
VERSION = 0.2
# Paths
-prefix = /usr/local
-DESTDIR =
+DESTDIR = /usr/local
CC := gcc
CFLAGS := $(CFLAGS) -W -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \
@@ -30,8 +29,8 @@ inotail: inotail.o
$(CC) $(CFLAGS) -c $< -o $@
install: inotail
- install -m 775 -D inotail $(DESTDIR)$(prefix)/bin/inotail
- install -m 644 -D inotail.1 $(DESTDIR)$(prefix)/share/man/man1/inotail.1
+ install -m 775 -D inotail $(DESTDIR)/bin/inotail
+ install -m 644 -D inotail.1 $(DESTDIR)/share/man/man1/inotail.1
cscope:
cscope -b