mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-12 02:08:15 +01:00
Correct version regex in Makefile, add git as dependency
This commit is contained in:
parent
5dbff077c2
commit
f98ae2d1d3
3 changed files with 5 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
||||||
#! /usr/bin/make
|
#! /usr/bin/make
|
||||||
|
|
||||||
# Extract version from git, or if we're from a zipfile, use dirname
|
# 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),)
|
ifeq ($(VERSION),)
|
||||||
$(error "ERROR: git is required for generating version information")
|
$(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 \
|
sudo apt-get install -y \
|
||||||
autoconf automake build-essential git libtool libgmp-dev \
|
autoconf automake build-essential git libtool libgmp-dev \
|
||||||
libsqlite3-dev python python3 net-tools zlib1g-dev libsodium-dev \
|
libsqlite3-dev python python3 net-tools zlib1g-dev libsodium-dev \
|
||||||
python3-mako
|
python3-mako git
|
||||||
git clone https://github.com/ElementsProject/lightning.git
|
git clone https://github.com/ElementsProject/lightning.git
|
||||||
cd lightning
|
cd lightning
|
||||||
./configure
|
./configure
|
||||||
|
|
|
@ -38,7 +38,8 @@ Get dependencies:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y \
|
sudo apt-get install -y \
|
||||||
autoconf automake build-essential git libtool libgmp-dev \
|
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
|
If you don't have Bitcoin installed locally you'll need to install that
|
||||||
as well:
|
as well:
|
||||||
|
@ -85,6 +86,7 @@ $ sudo dnf update -y && \
|
||||||
sudo dnf install -y \
|
sudo dnf install -y \
|
||||||
asciidoc \
|
asciidoc \
|
||||||
clang \
|
clang \
|
||||||
|
git \
|
||||||
gmp-devel \
|
gmp-devel \
|
||||||
libsq3-devel \
|
libsq3-devel \
|
||||||
python2-devel \
|
python2-devel \
|
||||||
|
|
Loading…
Add table
Reference in a new issue