about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 970be03..9f589db 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
 # $xxxterm$
 
+PREFIX?=/usr/local
+BINDIR=${PREFIX}/bin
+
 PROG=xxxterm
 MAN=xxxterm.1
-BINDIR=/usr/local/bin
 
 SRCS= xxxterm.c
 COPT+= -O2
@@ -16,4 +18,6 @@ GTK_LDFLAGS!= pkg-config --libs $(LIBS)
 CFLAGS+= $(GTK_CFLAGS) -Wall -pthread
 LDFLAGS+= $(GTK_LDFLAGS) -pthread
 
+MANDIR= ${PREFIX}/man/cat
+
 .include <bsd.prog.mk>