summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-04-26 19:27:12 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-04-26 19:27:12 -0400
commit83e8da32e5d3154f1c97e6eb62c30450ff95b5af (patch)
treec4500bb9e8a43b3b69c9f7eda7c552d3a800f69c /Makefile
parentab100606238850f43106ea7a3c939833efd25378 (diff)
downloadmoreutils-83e8da32e5d3154f1c97e6eb62c30450ff95b5af.tar.gz
debhelper v7; rules file minimisation
Use DESTDIR instead of PREFIX.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f5142db..54f3759 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ BINS=isutf8 ifdata ifne pee sponge mispipe lckdo
PERLSCRIPTS=vidir vipe ts combine zrun
MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 mispipe.1 lckdo.1
CFLAGS=-O2 -g -Wall
-INSTALL_BIN=install -s
+INSTALL_BIN?=install -s
all: $(BINS) $(MANS)
@@ -10,12 +10,12 @@ clean:
rm -f $(BINS) $(MANS)
install:
- mkdir -p $(PREFIX)/usr/bin
- $(INSTALL_BIN) $(BINS) $(PREFIX)/usr/bin
- install $(PERLSCRIPTS) $(PREFIX)/usr/bin
+ mkdir -p $(DESTDIR)/usr/bin
+ $(INSTALL_BIN) $(BINS) $(DESTDIR)/usr/bin
+ install $(PERLSCRIPTS) $(DESTDIR)/usr/bin
- mkdir -p $(PREFIX)/usr/share/man/man1
- install $(MANS) $(PREFIX)/usr/share/man/man1
+ mkdir -p $(DESTDIR)/usr/share/man/man1
+ install $(MANS) $(DESTDIR)/usr/share/man/man1
check: isutf8
./check-isutf8