[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 02/02: Providing "make dist" based on Git.
From: |
gnunet |
Subject: |
[libeufin] 02/02: Providing "make dist" based on Git. |
Date: |
Thu, 19 Jan 2023 14:20:27 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 7d925f01be038ea194ddd110c94e9d9321033bbd
Author: MS <ms@taler.net>
AuthorDate: Thu Jan 19 14:17:45 2023 +0100
Providing "make dist" based on Git.
Updating the README and adding another target
to export executables: make exec-arch
---
Makefile | 8 +++++++-
README | 21 +++++++++++++++++++--
2 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 91576dbf..51ec2ca6 100644
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,17 @@ escaped_pwd = $(shell pwd | sed 's/\//\\\//g')
all: assemble
install: install-nexus install-sandbox install-cli
+git-archive-all =
./build-system/taler-build-scripts/archive-with-submodules/git_archive_all.py
.PHONY: dist
dist:
- @./gradlew -q dist
+ @mkdir -p build/distributions
+ @$(git-archive-all) --include ./configure
build/distributions/libeufin-$(shell ./gradlew -q
libeufinVersion)-sources.tar.gz
+
+.PHONY: exec-arch
+exec-arch:
+ @./gradlew -q execArch
.PHONY: deb
deb: dist
diff --git a/README b/README
index 0ea44866..6cf9dc97 100644
--- a/README
+++ b/README
@@ -26,7 +26,24 @@ Exporting a dist-file
=====================
$ ./bootstrap
-$ ./configure # prefix not relevant for dist.
$ make dist
-The Zip file should be contained into the build/distributions/ folder.
+The TGZ file should be found at:
build/distributions/libeufin-$VERSION-sources.tar.gz
+
+Exporting an archive with the three executables
+===============================================
+
+Such archive contains the compiled Sandbox and Nexus,
+and the CLI script.
+
+$ ./bootstrap # Needed to silence 'GNU make'
+$ make exec-arch
+
+Alternatively, the same archive is produced by:
+
+$ ./gradlew execArch
+
+The archive should be found at: build/distributions/libeufin-$VERSION.zip
+
+After extracting the compressed files, run the three
+executable found under the "bin/" folder.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.