diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-03-28 12:40:00 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-03-28 12:40:00 +0200 |
commit | bdce238cdaac64fad066f8d2eb92883a9c309a55 (patch) | |
tree | 381f06b3c5f3099b5810f3d56ac7dd1afe7f9858 /Makefile | |
parent | 225f5455b2c1626efe9ed82de4a8c90a4c1b0aa6 (diff) |
Makefile: Clean up some more
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 |