summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2008-05-10 18:02:55 -0400
committerJoey Hess <joey@kitenet.net>2008-05-10 18:02:55 -0400
commit57961470b587d8e26202ea15beec018dbd07bc6c (patch)
treec179b2c5db3ccd4571cb08d0814984b215c7e151 /Makefile
parent64d494126de003b66293268b3be6556a86ff73e8 (diff)
downloadmoreutils-57961470b587d8e26202ea15beec018dbd07bc6c.tar.gz
eh, I didn't mean to revert that
(or push out the reversion, oops.. too late)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 4160adf..b0595c4 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
DOCBOOK2XMAN="docbook2x-man"
@@ -12,12 +12,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