[X2Go-Commits] [x2gobroker] 17/18: Makefile: Support skipping installation of the x2gobroker PyModule. Useful when building with CDBS on Debian.

git-admin at x2go.org git-admin at x2go.org
Mon Apr 30 19:10:57 CEST 2018


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

x2go pushed a commit to branch master
in repository x2gobroker.

commit 549660b8a52ed2346eb89b217376b3a3c0570556
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Apr 30 19:01:30 2018 +0200

    Makefile: Support skipping installation of the x2gobroker PyModule. Useful when building with CDBS on Debian.
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 22207f8..61690e2 100755
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,8 @@ LIB_FILES=$(shell cd lib && echo *)
 
 PERL ?= /usr/bin/perl
 
+SKIP_INSTALL_PYMODULE ?=
+
 all: build
 
 build: build-arch build-indep
@@ -84,7 +86,7 @@ install:
 	        "${DESTDIR}/var/log/x2gobroker"
 
 	# python3-x2gobroker
-	python3 setup.py install --prefix="${PREFIX}" $${DESTDIR+--root="${DESTDIR}"}
+	[ -z "${SKIP_INSTALL_PYMODULE}" ] && python3 setup.py install --prefix="${PREFIX}" $${DESTDIR+--root="${DESTDIR}"} || :
 	mkdir -p "${DESTDIR}${ETCDIR}/broker" "${DESTDIR}/etc/pam.d" \
 	        "${DESTDIR}/etc/default"
 	${INSTALL_FILE} defaults/python-x2gobroker.default \

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list