mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
Correct version regex in Makefile, add git as dependency
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
||||
#! /usr/bin/make
|
||||
|
||||
# Extract version from git, or if we're from a zipfile, use dirname
|
||||
VERSION=$(shell git describe --always --dirty=-modded --abbrev=7 2>/dev/null || pwd | sed -n 's,.*/clightning-\(v[0-9.rc]*\)$$,\1,p')
|
||||
VERSION=$(shell git describe --always --dirty=-modded --abbrev=7 2>/dev/null || pwd | sed -n 's,.*/lightning-\([0-9.rc]*\)$$,\1,p')
|
||||
|
||||
ifeq ($(VERSION),)
|
||||
$(error "ERROR: git is required for generating version information")
|
||||
|
||||
@@ -60,7 +60,7 @@ For the impatient here's the gist of it for Ubuntu and Debian:
|
||||
sudo apt-get install -y \
|
||||
autoconf automake build-essential git libtool libgmp-dev \
|
||||
libsqlite3-dev python python3 net-tools zlib1g-dev libsodium-dev \
|
||||
python3-mako
|
||||
python3-mako git
|
||||
git clone https://github.com/ElementsProject/lightning.git
|
||||
cd lightning
|
||||
./configure
|
||||
|
||||
@@ -38,7 +38,8 @@ Get dependencies:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
autoconf automake build-essential git libtool libgmp-dev \
|
||||
libsqlite3-dev python python3 python3-mako net-tools zlib1g-dev libsodium-dev
|
||||
libsqlite3-dev python python3 python3-mako net-tools zlib1g-dev libsodium-dev \
|
||||
git
|
||||
|
||||
If you don't have Bitcoin installed locally you'll need to install that
|
||||
as well:
|
||||
@@ -85,6 +86,7 @@ $ sudo dnf update -y && \
|
||||
sudo dnf install -y \
|
||||
asciidoc \
|
||||
clang \
|
||||
git \
|
||||
gmp-devel \
|
||||
libsq3-devel \
|
||||
python2-devel \
|
||||
|
||||
Reference in New Issue
Block a user