summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2020-05-27 12:01:49 -0400
committerC. McEnroe2020-05-27 12:01:49 -0400
commit287cd3c63cc25c7d2e496815094a615ff1c57fde (patch)
tree6bd749fc4a96487d0d8dd3e02fa0e0cfaac20603
parent88e2197a8f3272abbdc9a322806a7bdc9fff2daa (diff)
Inherit PREFIX and MANDIR from env 1.0
Oops.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f5c9854..8bf93ab 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-PREFIX = /usr/local
-MANDIR = ${PREFIX}/share/man
+PREFIX ?= /usr/local
+MANDIR ?= ${PREFIX}/share/man
 
 CFLAGS += -I${PREFIX}/include
 LDFLAGS += -L${PREFIX}/lib