summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2006-08-22 23:57:20 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-08-22 23:57:20 +0200
commit2451dffbb7f7d385310d084ee478e521b710e5c9 (patch)
treec08f1707fe0eefef23686fe0f10605a7827b623d
parentd6c08be03ce12e077cca5c292e128913572578bc (diff)
Correctly set and handle $prefix and $DESTDIR
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 66ea46c..2f37ce7 100644
--- a/Makefile
+++ b/Makefile
@@ -3,9 +3,7 @@
VERSION = 0.1
# Paths
-prefix = $(HOME)
-BINDIR = $(prefix)/bin
-MANDIR = $(prefix)/share/man
+prefix = /usr
DESTDIR =
CC := gcc
@@ -28,8 +26,8 @@ inotail: inotail.o
$(CC) $(CFLAGS) -c $< -o $@
install: inotail
- install -m 775 -D inotail $(DESTDIR)$(BINDIR)
- install -m 644 -D inotail.1 $(DESTDIR)$(MANDIR)/man1/inotail.1
+ install -m 775 -D inotail $(DESTDIR)$(prefix)/bin/inotail
+ install -m 644 -D inotail.1 $(DESTDIR)$(prefix)/share/man1/inotail.1
cscope:
cscope -b
/span>/+12 2013-08-08avr32: boards/atngw100/mrmt.c: fix building errorCong Ding1-1/+0 2012-07-30avr32: fix build error in ATSTK1002 codeFengguang Wu1-1/+1 2012-03-15ATMEL: fix nand ecc supportJean-Christophe PLAGNIOL-VILLARD2-0/+2 2012-01-09Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-socLinus Torvalds6-6/+6 2011-12-21driver-core: remove sysdev.h usage.Kay Sievers1-1/+0 2011-11-22macb: unify at91 and avr32 platform dataJamie Iles6-6/+6 2011-09-11mtd: ATMEL, AVR32: inline nand partition table accessDmitry Eremin-Solenikov2-13/+4 2011-03-24avr: Cleanup genirq namespaceThomas Gleixner2-2/+2 2011-01-13avr32: boards: setup: use IS_ERR() instead of NULL checkVasiliy Kulikov6-6/+6 2010-10-15llseek: automatically add .llseek fopArnd Bergmann1-0/+1