From b6d863a4fd9e39d57ad3e8bf4e977c9b0997c355 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Dec 2015 05:45:04 +0100 Subject: get LIBRARIAN_PATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f83fc37..adb5c04 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,9 @@ LICENSEDIR = $(DATADIR)/licenses PKGNAME = librarian COMMAND = librarian +# Default value for the environment variable LIBRARIAN_PATH. +LIBRARIAN_PATH = /usr/local/share/librarian:/usr/share/librarian + OPTIMISE = -Og -g WARN = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \ @@ -30,7 +33,7 @@ WARN = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include -Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc -pedantic #OPTIMISE = -O2 #WARN = -Wall -Wextra -pedantic -FLAGS = -std=c99 $(WARN) $(OPTIMISE) +FLAGS = -std=c99 $(WARN) $(OPTIMISE) -D'DEFAULT_PATH="$(LIBRARIAN_PATH)"' -- cgit v1.2.3-70-g09d2