From 51a0e1e9653320a162ced2cd0392ee9ef7558beb Mon Sep 17 00:00:00 2001 From: David Craven Date: Sat, 31 Dec 2016 16:24:42 +0100 Subject: [PATCH] Comply with GNU coding standards. Currently the DESTDIR variable is not used correctly which leads to bogus RUNPATH entries. https://www.gnu.org/prep/standards/html_node/DESTDIR.html --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index e8c80dd..01af91b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -55,9 +55,9 @@ enable_stow := @enable_stow@ ifeq ($(enable_stow),yes) stow_pkg_dir := $(prefix)/pkgs - INSTALLDIR ?= $(DESTDIR)/$(stow_pkg_dir)/$(project_name)-$(project_ver) + INSTALLDIR ?= $(DESTDIR)$(stow_pkg_dir)/$(project_name)-$(project_ver) else - INSTALLDIR ?= $(DESTDIR)/$(prefix) + INSTALLDIR ?= $(DESTDIR)$(prefix) endif install_hdrs_dir := $(INSTALLDIR)/include/$(project_name) -- 2.30.2