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