From 9aebcfaa8b9cf1715e346e219db5eae590f568f5 Mon Sep 17 00:00:00 2001 From: Ben Walton Date: Wed, 25 Jul 2012 21:25:28 -0400 Subject: [PATCH] Allow overriding PREFIX and CFLAGS to make the build more flexible This patch allows the package to be more easily portable to other systems, such as OpenCSW where we install to /opt/csw and don't always use gcc. Signed-off-by: Ben Walton --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 21af683..be379ab 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ BINS=isutf8 ifdata ifne pee sponge mispipe lckdo parallel errno PERLSCRIPTS=vidir vipe ts combine zrun chronic MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 chronic.1 mispipe.1 lckdo.1 parallel.1 errno.1 -CFLAGS=-O2 -g -Wall +CFLAGS?=-O2 -g -Wall INSTALL_BIN?=install -s -PREFIX=/usr +PREFIX?=/usr DOCBOOK2XMAN=docbook2x-man -- 2.39.5