diff options
author | David Craven <david@craven.ch> | 2016-12-31 16:24:42 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-01-06 10:31:21 -0800 |
commit | 51a0e1e9653320a162ced2cd0392ee9ef7558beb (patch) | |
tree | 0cc09144a4ca13d5c16d915bbb6d109966a4f703 /Makefile.in | |
parent | f38dcde0d80d2f4818b8f20067b8de5267c8ade6 (diff) | |
download | riscv-isa-sim-51a0e1e9653320a162ced2cd0392ee9ef7558beb.zip riscv-isa-sim-51a0e1e9653320a162ced2cd0392ee9ef7558beb.tar.gz riscv-isa-sim-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
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
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) |