summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-03-28 12:30:40 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-03-28 12:30:40 +0200
commit225f5455b2c1626efe9ed82de4a8c90a4c1b0aa6 (patch)
treed45cb11f588f889f99d11654e9ec0f77ebbd1791
parent52150c59ca2ea06b10edf5d5526b66bc93c05cd9 (diff)
Makfile: Get rid of prefix var, it's not necessary
Additionally this leads to problems when building debian packages
-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