Skip to content

Commit

Permalink
Clean-up Makefile
Browse files Browse the repository at this point in the history
The code is not needed anymore since I've introduced cln-version-manager
  • Loading branch information
ErikDeSmedt committed Apr 23, 2024
1 parent ff383e3 commit d69feb4
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@ CHANGED_RUST_SOURCES=$(shell git diff --name-only origin/main | grep '\.rs')
# rebuild them easily.
GENALL =

CLN_VERSIONS = \
v0.10.1 \
v0.10.2 \
v0.11.0.1 \
v0.11.2gl2 \
v0.11.2 \
v22.11gl1 \
v23.05gl1 \
v23.08gl1

DOCKER_OPTIONS= \
--rm \
--user $(shell id -u):$(shell id -g) \
Expand All @@ -51,8 +41,6 @@ DOCKER_OPTIONS= \
-v /tmp/gltesting/cargo/registry:/opt/cargo/registry \
-v ${REPO_ROOT}:/repo

CLN_TARGETS = $(foreach VERSION,$(CLN_VERSIONS),cln-versions/$(VERSION)/usr/local/bin/lightningd)

.PHONY: ensure-docker build-self check-self docker-image docs wheels

include libs/gl-client/Makefile
Expand Down Expand Up @@ -137,16 +125,6 @@ docker-check-py: docker-volumes
${DOCKER_OPTIONS} \
gltesting make build-self check-py

cln-versions/%/usr/local/bin/lightningd: cln-versions/lightningd-%.tar.bz2
@echo "Extracting $* from tarball $< into cln-versions/$*/"
mkdir -p "cln-versions/$*"
tar -xjf $< -C "cln-versions/$*/"

cln-versions/lightningd-%.tar.bz2:
mkdir -p cln-versions
wget -q "https://storage.googleapis.com/greenlight-artifacts/cln/lightningd-$*.tar.bz2" -O $@


cln: ${CLN_TARGETS}

docs:
Expand Down

0 comments on commit d69feb4

Please sign in to comment.