From: Ben Walton Date: Thu, 26 Jul 2012 01:25:28 +0000 (-0400) Subject: Allow overriding PREFIX and CFLAGS to make the build more flexible X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9aebcfaa8b9cf1715e346e219db5eae590f568f5;p=moreutils 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 --- 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