]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Documentation: allow parent PREFIX to override
authorMike Frysinger <vapier@gentoo.org>
Fri, 16 Dec 2016 17:08:02 +0000 (12:08 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 16 Dec 2016 17:08:02 +0000 (12:08 -0500)
The current Documentation/Makefile always sets PREFIX to /usr/local.
If the parent Makefile sets it to something else, then it still gets
clobbered.  Change the Makefile to look like the parent and allow the
cascading logic to work.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Documentation/Makefile

index aa5683cc3140aae04138a59f8295610c19c5cbaf..3e324fb8c94b6765b8994063cde22086a9e07023 100644 (file)
@@ -91,7 +91,7 @@ NO_SUBDIR = :
 endif
 
 DESTDIR =
-PREFIX := /usr/local
+PREFIX ?= /usr/local
 
 all: man html