about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2010-08-11 12:07:09 +0000
committerMarco Peereboom <marco@conformal.com>2010-08-11 12:07:09 +0000
commit3eaf180251ea62f414a8d4f7a1d2930579cadc2b (patch)
treed9d8680a433578116e1a3c62809771e2f0a7489e /Makefile
parent09e6114d3a8f12a1bcc3cb2d774a82d5c706b2bd (diff)
downloadxombrero-3eaf180251ea62f414a8d4f7a1d2930579cadc2b.tar.gz
make xxxterm install in the same spot as pkg_add
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>