[X2Go-Commits] [x2gobroker] 14/18: Makefile: Run setup.py build at build time.

git-admin at x2go.org git-admin at x2go.org
Mon Apr 30 19:10:56 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 3f422b620387ea789ff5288db6c25d506d25506f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Apr 30 18:25:11 2018 +0200

    Makefile: Run setup.py build at build time.
---
 Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1e198e1..d736e5b 100755
--- a/Makefile
+++ b/Makefile
@@ -49,16 +49,19 @@ LIB_FILES=$(shell cd lib && echo *)
 
 PERL ?= /usr/bin/perl
 
-all: clean build
+all: build
 
 build: build-arch build-indep
 
-build-arch: build_setuidwrappers
+build-arch: build_setuidwrappers build_pymodule
 
 build_setuidwrappers:
 	$(CC) $(CFLAGS) $(LDFLAGS) -DTRUSTED_BINARY=\"$(LIBDIR)/x2gobroker-agent.pl\" -o lib/x2gobroker-agent src/x2gobroker-agent.c
 	$(CC) $(CFLAGS) $(LDFLAGS) -DTRUSTED_BINARY=\"$(BINDIR)/x2gobroker\" -o bin/x2gobroker-ssh src/x2gobroker-ssh.c
 
+build_pymodule:
+	python3 setup.py build
+
 build-indep:
 
 distclean: clean

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