diff mbox

[FFmpeg-devel] make install prefix configurable

Message ID 20180505152858.20186-1-daniel@danieloberhoff.de
State New
Headers show

Commit Message

Daniel Oberhoff May 5, 2018, 3:28 p.m. UTC
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Timo Rothenpieler May 5, 2018, 3:45 p.m. UTC | #1
Am 05.05.2018 um 17:28 schrieb Daniel Oberhoff:
> ---
>   Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index a51c2c9..c3a9209 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,4 +1,4 @@
> -PREFIX = /usr/local
> +PREFIX ?= /usr/local

This shouldn't be necessary, this and all the other variables around it 
can already be overridden just fine.
diff mbox

Patch

diff --git a/Makefile b/Makefile
index a51c2c9..c3a9209 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@ 
-PREFIX = /usr/local
+PREFIX ?= /usr/local
 LIBDIR = lib
 INSTALL = install
 SED = sed