From 166809673552eb2a3a546fd01151d25787c4280e Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 19 Nov 2010 13:54:53 -0200 Subject: [PATCH] build: add support for "DESTDIR" variable The build system uses "instroot" to define the path for installation however "DESTDIR" is the most common used one (e.g Debian and OpenEmbedded use it). This patch makes "instroot" defaults to "DESTDIR" value if not set. Signed-off-by: Otavio Salvador --- Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index f64ffe3..fb13749 100644 --- a/Makefile.in +++ b/Makefile.in @@ -36,6 +36,7 @@ datadir = @datadir@ mandir = @mandir@ man1dir = $(mandir)/man1 pkgconfigdir = $(libdir)/pkgconfig +instroot ?= $(DESTDIR) #-------------------------------------- -- 2.47.3