[pkg-remote-commits] [x2goserver] 01/02: debian/rules: Fix various flaws: (1) No build action in install-like target. (2) No duplicated override_dh_auto_install. (3) Set x2gofeature.d script permissions for x2goserver-x2goagent after dh_install execution.

Mike Gabriel sunweaver at debian.org
Sat Aug 26 20:16:11 UTC 2017


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

sunweaver pushed a commit to branch master
in repository x2goserver.

commit 93776459227b71a9a74fa281fedefa1ae3b3b9d7
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Aug 26 22:14:01 2017 +0200

    debian/rules: Fix various flaws: (1) No build action in install-like target. (2) No duplicated override_dh_auto_install. (3) Set x2gofeature.d script permissions for x2goserver-x2goagent after dh_install execution.
---
 debian/rules | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 71fe536..23a73bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,11 +12,11 @@ include /usr/share/dpkg/buildflags.mk
 override_dh_auto_install:
 	mkdir -p "debian/tmp/$(NXLIBDIR)/bin/"
 	ln -sf "nxagent" "debian/tmp/$(NXLIBDIR)/bin/x2goagent"
-	PREFIX=/usr make -f Makefile build-arch
-
-override_dh_auto_install:
 	dh_auto_install
-	chmod 0755 debian/tmp/usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features
+
+override_dh_install:
+	dh_install
+	chmod 0755 debian/x2goserver-x2goagent/usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features
 
 override_dh_auto_clean:
 	rm -fv x2gosqlitewrapper

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/x2goserver.git



More information about the pkg-remote-commits mailing list