diff options
author | Evan Broder <broder@MIT.EDU> | 2008-10-27 21:58:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-27 22:40:44 -0400 |
commit | 220a73731d4506912e8ec2ecca2e33abdf4e01fe (patch) | |
tree | 25199291683ab6f6b27e4397a6fadf83992eb8f3 /Makefile | |
parent | 1e73fbbb25bc43999320b2c9c5679ab0c8f3b528 (diff) | |
download | moreutils-220a73731d4506912e8ec2ecca2e33abdf4e01fe.tar.gz |
Support installing moreutils into prefixes other than /usr
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -3,6 +3,7 @@ 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 +PREFIX=/usr DOCBOOK2XMAN="docbook2x-man" @@ -12,12 +13,12 @@ clean: rm -f $(BINS) $(MANS) install: - mkdir -p $(DESTDIR)/usr/bin - $(INSTALL_BIN) $(BINS) $(DESTDIR)/usr/bin - install $(PERLSCRIPTS) $(DESTDIR)/usr/bin + mkdir -p $(DESTDIR)$(PREFIX)/bin + $(INSTALL_BIN) $(BINS) $(DESTDIR)$(PREFIX)/bin + install $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin - mkdir -p $(DESTDIR)/usr/share/man/man1 - install $(MANS) $(DESTDIR)/usr/share/man/man1 + mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 + install $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1 check: isutf8 ./check-isutf8 |