mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
Makefile: don't always install in /usr/local: use configure's --prefix
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
ed6a455a3c
commit
8b74bcb0ad
@ -112,7 +112,7 @@ changes.
|
|||||||
- Protocol: don't send invalid onion errors if peer says onion was bad.
|
- 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.
|
- Protocol: don't crash when peer sends a 0-block-expiry HTLC.
|
||||||
- pylightning: handle multiple simultanous RPC replies reliably.
|
- pylightning: handle multiple simultanous RPC replies reliably.
|
||||||
|
- build: we use `--prefix` as handed to `./configure`
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
5
Makefile
5
Makefile
@ -436,13 +436,12 @@ unittest/%: %
|
|||||||
$(VG) $(VG_TEST_ARGS) $* > /dev/null
|
$(VG) $(VG_TEST_ARGS) $* > /dev/null
|
||||||
|
|
||||||
# Installation directories
|
# Installation directories
|
||||||
prefix = /usr/local
|
exec_prefix = $(PREFIX)
|
||||||
exec_prefix = $(prefix)
|
|
||||||
bindir = $(exec_prefix)/bin
|
bindir = $(exec_prefix)/bin
|
||||||
libexecdir = $(exec_prefix)/libexec
|
libexecdir = $(exec_prefix)/libexec
|
||||||
pkglibexecdir = $(libexecdir)/$(PKGNAME)
|
pkglibexecdir = $(libexecdir)/$(PKGNAME)
|
||||||
plugindir = $(pkglibexecdir)/plugins
|
plugindir = $(pkglibexecdir)/plugins
|
||||||
datadir = $(prefix)/share
|
datadir = $(PREFIX)/share
|
||||||
docdir = $(datadir)/doc/$(PKGNAME)
|
docdir = $(datadir)/doc/$(PKGNAME)
|
||||||
mandir = $(datadir)/man
|
mandir = $(datadir)/man
|
||||||
man1dir = $(mandir)/man1
|
man1dir = $(mandir)/man1
|
||||||
|
Loading…
Reference in New Issue
Block a user