From 744e891138c1f9821cf6a43b627325eca806d6d8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 23 Mar 2016 13:46:13 +0100 Subject: fix install prefix for standalone build --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index a7d8e02..2f1a6c4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ -include config.mk +# conditionally initialized, this is needed for standalone build +# with empty config.mk +PREFIX ?= /usr/local +MANPREFIX ?= ${PREFIX}/share/man +SHAREPREFIX ?= ${PREFIX}/share/vis + VERSION = $(shell git describe 2>/dev/null || echo "0.1.x") CONFIG_LUA ?= 1 -- cgit v1.2.3