Makefile: define PREFIX same as in sub-Makefiles to install "doc" to reasonable path

This commit is contained in:
Jim Klimov
2021-03-28 21:01:38 +03:00
parent f87c2f8915
commit 89161a0cdf

View File

@@ -2,6 +2,7 @@ INSTALL ?= install
UNAME=$(shell uname)
SELECTOR:=$(shell if test "${UNAME}" = "Darwin" ; then echo "-f Makefile.OSX" ; fi)
PREFIX ?= /usr/local
all:
$(MAKE) $(SELECTOR) -C src all