makefile+dev.Dockerfile: add install-all command

Add a new `make install-all` command that will perform all `make
install` actions along with generating the manpages. The `manpages`
command is then removed from the existing `make install` command. The
docker build is then updated to use the new `make install-all` command.
This is done because some users running `make install` may be doing so
in environments where they do not have write access to the directory
where the man pages need to be written to.
This commit is contained in:
Elle Mouton
2024-05-08 09:25:19 +02:00
parent 3e36df42e5
commit c577dae372
3 changed files with 11 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ COPY . /go/src/github.com/lightningnetwork/lnd
# Install/build lnd.
RUN cd /go/src/github.com/lightningnetwork/lnd \
&& make \
&& make install tags="signrpc walletrpc chainrpc invoicesrpc peersrpc"
&& make install-all tags="signrpc walletrpc chainrpc invoicesrpc peersrpc"
# Start a new, final image to reduce size.
FROM alpine as final