From 225f5455b2c1626efe9ed82de4a8c90a4c1b0aa6 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 28 Mar 2007 12:30:40 +0200 Subject: Makfile: Get rid of prefix var, it's not necessary Additionally this leads to problems when building debian packages --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf