gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch master updated: add --enable-debian-sys


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: add --enable-debian-system option to install bank to proper prefix even on Debian
Date: Sun, 07 May 2017 13:47:56 +0200

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

grothoff pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 3645d94  add --enable-debian-system option to install bank to proper 
prefix even on Debian
3645d94 is described below

commit 3645d943a4a8eaf5fa416a019b8ac4c2371c88a0
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun May 7 13:47:53 2017 +0200

    add --enable-debian-system option to install bank to proper prefix even on 
Debian
---
 Makefile.am  |  4 ++--
 bank.conf    |  9 ++++++++-
 configure.ac | 11 +++++++++++
 3 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 227565c..1d91bac 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,9 +27,9 @@ check:
 
 # install into prefix
 install-exec-hook:
-       @pip3 install . --install-option="address@hidden@"
+       @pip3 install . --install-option="address@hidden@" @DEBIAN_PIP3_SYSTEM@
        @# force update when sources changed
-       @pip3 install . --install-option="address@hidden@" --upgrade --no-deps
+       @pip3 install . --install-option="address@hidden@" @DEBIAN_PIP3_SYSTEM@ 
--upgrade --no-deps
 
 app:
        @tar czf taler-bank-$(PACKAGE_VERSION)-app.tgz `cat INCLUDE.APP`
diff --git a/bank.conf b/bank.conf
index b6d8628..c99c2f9 100644
--- a/bank.conf
+++ b/bank.conf
@@ -1,3 +1,10 @@
 [bank]
 
-database = postgres:///talerbank
+# Which database should we use?
+DATABASE = postgres:///talerbank
+
+# FIXME
+MAX_DEBT = KUDOS:50
+
+# FIXME
+MAX_DEBT_BANK = KUDOS:0
\ No newline at end of file
diff --git a/configure.ac b/configure.ac
index 44d825f..92a401b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,17 @@ AC_MSG_RESULT([$PIP_VERSION])
 
 AX_COMPARE_VERSION([$PIP_VERSION],[lt],[6.0], [AC_MSG_ERROR([Please install 
pip3>=6.0])])
 
+# On Debian systems, we may need to pass "--system" to pip3 to get
+# to the desired installation target directory
+AC_ARG_ENABLE(debian-system,
+  AS_HELP_STRING(--enable-debian-system, pass --system option to pip3 to make 
Debian pip obey installation prefix),
+[if test x$enableval = xyes; then
+   DEBIAN_PIP3_SYSTEM="--system"
+else
+   DEBIAN_PIP3_SYSTEM=""
+fi])
+AC_SUBST(DEBIAN_PIP3_SYSTEM)
+
 #
 # Check for PostgreSQL
 #

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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