--- Makefile.orig 1998-09-12 05:57:00.000000000 +0100 +++ Makefile 2004-02-10 10:21:07.000000000 +0000 @@ -10,9 +10,9 @@ CC = g++ CCOPTS = -O3 -Wall -Winline #CCOPTS = -g -Wall -PREFIX = /usr -BIN = $(PREFIX)/bin -MAN = $(PREFIX)/man +PREFIX = $(prefix) +BIN = $(bindir) +MAN = $(mandir) OBJS = tzip.o crc32.o rle.o bwt.o sort.o mtf.o arith.o histo.o iobuf.o all: tzip tunzip @@ -50,8 +50,8 @@ rm -f $(SRC_PKG) $(RPM_PKG) $(SRPM_PKG) install: tunzip tzip - rm -f /usr/bin/tunzip - ln -sf tzip /usr/bin/tunzip + rm -f $(BIN)/tunzip + ln -sf tzip $(BIN)/tunzip install -m 0755 -s tzip $(BIN) install -m 0644 tzip.1 $(MAN)/man1