gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: make sure the compile step is never ru


From: gnunet
Subject: [libeufin] branch master updated: make sure the compile step is never run under debian fakeroot
Date: Tue, 28 Nov 2023 00:56:05 +0100

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 9ba43cbe make sure the compile step is never run under debian fakeroot
9ba43cbe is described below

commit 9ba43cbe9637670ad77023d6d4fdcc9e4687e8fc
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Nov 28 00:56:05 2023 +0100

    make sure the compile step is never run under debian fakeroot
---
 Makefile     | 3 +++
 debian/rules | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/Makefile b/Makefile
index a805ad04..0747fc1c 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,9 @@ dist:
 deb:
        dpkg-buildpackage -rfakeroot -b -uc -us
 
+# The install-nobuild-* targets install under the assumption
+# that the compile step has already been run.
+
 # Install without attempting to build first
 .PHONY: install-nobuild
 install-nobuild: install-nobuild-bank install-nobuild-nexus
diff --git a/debian/rules b/debian/rules
index f338080b..9d4c909f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,14 @@ override_dh_auto_test:
 override_dh_auto_configure:
        ./configure --prefix=/usr
 
+# Since this step is run under fakeroot and gradle
+# doesn't work under fakeroot, we must make sure
+# that everything is built by gradle before.
+# The install-nobuild target installs under the assumption
+# that everything is already built.
+override_dh_auto_install:
+       make -j1 install-nobuild DESTDIR=$(CURDIR)/debian/tmp
+
 # Override this step because it's very slow and likely
 # unnecessary for us.
 override_dh_strip_nondeterminism:

-- 
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]