From 24ffba0e511d50995809a37b3e53dab28d806f42 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 20 Mar 2012 19:17:32 -0500 Subject: [PATCH] use destdir. closes #15. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b5313043..3a46b7aa 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ CC ?= gcc PREFIX ?= /usr -BINDIR ?= $(PREFIX)/bin -MANDIR ?= $(PREFIX)/share/man/man1 +BINDIR ?= $(DESTDIR)$(PREFIX)/bin +MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1 PACKAGES = x11 xcomposite xfixes xdamage xrender LIBS = $(shell pkg-config --libs $(PACKAGES)) -lm