gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: support DESTDIR


From: gnunet
Subject: [libeufin] branch master updated: support DESTDIR
Date: Thu, 28 Sep 2023 18:54:58 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 973c88cc support DESTDIR
973c88cc is described below

commit 973c88cc69eb6cf38bb00d59bb6b3234432cd38d
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Sep 28 18:54:46 2023 +0200

    support DESTDIR
---
 Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index da0b6874..fe69215e 100644
--- a/Makefile
+++ b/Makefile
@@ -38,11 +38,15 @@ get-spa:
 deb: exec-arch copy-spa
        @dpkg-buildpackage -rfakeroot -b -uc -us
 
+
+# Absolute DESTDIR or empty string if DESTDIR unset/empty
+abs_destdir=$(abspath $(DESTDIR))
+
 .PHONY: install-bank
 install-bank:
-       install -d $(config_dir)
-       install contrib/libeufin-bank.conf $(config_dir)/
-       @./gradlew -q -Pprefix=$(prefix) bank:installToPrefix; cd ..
+       install -d $(abs_destdir)$(config_dir)
+       install contrib/libeufin-bank.conf $(abs_destdir)$(config_dir)/
+       ./gradlew -q -Pprefix=$(abs_destdir)$(prefix) bank:installToPrefix
 
 # To reactivate after the refactoring.
 # .PHONY: install-nexus

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]