Browse Source

Makefile: don't always install in /usr/local: use configure's --prefix

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
pr-2391
Rusty Russell 6 years ago
committed by neil saitug
parent
commit
8b74bcb0ad
  1. 2
      CHANGELOG.md
  2. 5
      Makefile

2
CHANGELOG.md

@ -112,7 +112,7 @@ changes.
- Protocol: don't send invalid onion errors if peer says onion was bad.
- Protocol: don't crash when peer sends a 0-block-expiry HTLC.
- pylightning: handle multiple simultanous RPC replies reliably.
- build: we use `--prefix` as handed to `./configure`
### Security

5
Makefile

@ -436,13 +436,12 @@ unittest/%: %
$(VG) $(VG_TEST_ARGS) $* > /dev/null
# Installation directories
prefix = /usr/local
exec_prefix = $(prefix)
exec_prefix = $(PREFIX)
bindir = $(exec_prefix)/bin
libexecdir = $(exec_prefix)/libexec
pkglibexecdir = $(libexecdir)/$(PKGNAME)
plugindir = $(pkglibexecdir)/plugins
datadir = $(prefix)/share
datadir = $(PREFIX)/share
docdir = $(datadir)/doc/$(PKGNAME)
mandir = $(datadir)/man
man1dir = $(mandir)/man1

Loading…
Cancel
Save