From: David Craven Date: Sat, 31 Dec 2016 15:24:42 +0000 (+0100) Subject: Comply with GNU coding standards. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51a0e1e9653320a162ced2cd0392ee9ef7558beb;p=riscv-isa-sim.git 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 --- 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)