aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-12-31 16:24:42 +0100
committerPalmer Dabbelt <palmer@dabbelt.com>2017-01-06 10:31:21 -0800
commit51a0e1e9653320a162ced2cd0392ee9ef7558beb (patch)
tree0cc09144a4ca13d5c16d915bbb6d109966a4f703
parentf38dcde0d80d2f4818b8f20067b8de5267c8ade6 (diff)
downloadspike-51a0e1e9653320a162ced2cd0392ee9ef7558beb.zip
spike-51a0e1e9653320a162ced2cd0392ee9ef7558beb.tar.gz
spike-51a0e1e9653320a162ced2cd0392ee9ef7558beb.tar.bz2
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
-rw-r--r--Makefile.in4
1 files 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)