From 83e8da32e5d3154f1c97e6eb62c30450ff95b5af Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 26 Apr 2008 19:27:12 -0400 Subject: debhelper v7; rules file minimisation Use DESTDIR instead of PREFIX. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3