commit 7d925f01be038ea194ddd110c94e9d9321033bbd
parent 008979f7b24f07e545532d2cb70b36aea0c2e234
Author: MS <ms@taler.net>
Date: Thu, 19 Jan 2023 14:17:45 +0100
Providing "make dist" based on Git.
Updating the README and adding another target
to export executables: make exec-arch
Diffstat:
2 files changed, 26 insertions(+), 3 deletions(-)
diff --git 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
@@ -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.