[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: support DESTDIR
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: support DESTDIR |
Date: |
Thu, 28 Sep 2023 18:44:34 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository taler-merchant-demos.
The following commit(s) were added to refs/heads/master by this push:
new e9a7201 support DESTDIR
e9a7201 is described below
commit e9a72017c01bc90085d52d6792134a71f73fbe57
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Sep 28 18:44:25 2023 +0200
support DESTDIR
---
Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 403c64d..ea6a78d 100644
--- a/Makefile
+++ b/Makefile
@@ -50,15 +50,16 @@ setup-deb:
pip install poetry
echo "Done!"
-my_venv = $(prefix)/lib/taler-merchant-demos/venv
+my_venv = $(DESTDIR)$(prefix)/lib/taler-merchant-demos/venv
+bindir = $(DESTDIR)$(prefix)/bin
.PHONY: install
install: compile
- mkdir -p $(prefix)/bin
+ mkdir -p $(bindir)
poetry build -f wheel
python3 -m venv $(my_venv)
$(my_venv)/bin/pip3 install --upgrade --ignore-installed
"dist/talermerchantdemos-$(version)-py3-none-any.whl"
- ln -sf $(my_venv)/bin/taler-merchant-demos
$(prefix)/bin/taler-merchant-demos
+ ln -sf ../lib/taler-merchant-demos/venv/bin/taler-merchant-demos
$(bindir)/taler-merchant-demos
# run testcases
.PHONY: check
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-merchant-demos] branch master updated: support DESTDIR,
gnunet <=