[X2Go-Commits] [x2gothinclient] 01/03: debian/rules: Convert to pure debhelper rules file.
git-admin at x2go.org
git-admin at x2go.org
Sun Jul 21 14:39:10 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gothinclient.
commit 23daf2a2215b70276222a9932d70acfdb8f5490a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sun Jul 21 14:33:14 2019 +0200
debian/rules: Convert to pure debhelper rules file.
---
debian/changelog | 2 ++
debian/rules | 58 ++++++++++++--------------------------------------------
2 files changed, 14 insertions(+), 46 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b2df2b7..ee0f6f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,8 @@ x2gothinclient (1.5.0.1-0x2go1) UNRELEASED; urgency=medium
specific theming of the desktop UI. (Closes: #1364).
- Install minidesktop's background SVG to DATADIR and symlink to it in
ETCDIR.
+ * debian/rules:
+ + Convert to pure debhelper rules file.
-- X2Go Release Manager <git-admin at x2go.org> Sun, 02 Dec 2018 06:49:42 +0100
diff --git a/debian/rules b/debian/rules
index ccd1f02..f4e7f32 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,62 +6,28 @@ include /usr/share/dpkg/buildflags.mk
export QT_SELECT=qt5
+DHFLAGS=--parallel
+
%:
- dh $@ --parallel
+ dh $@ $(DHFLAGS)
-configure: configure-stamp
-configure-stamp:
- dh_testdir
+override_dh_auto_configure:
cd cdmanager/powerej && qmake powerej.pro
- touch $@
-
-build: build-arch build-indep
+ dh_auto_configure $(DHFLAGS)
-build-arch: build-stamp
-build-stamp: configure-stamp
- dh_testdir
- dh_prep
+override_dh_auto_build:
$(MAKE) -C cdmanager/powerej
- touch $@
-
-build-indep:
-
-clean:
- dh_testdir
- dh_testroot
- [ ! -f cdmanager/powerej/Makefile ] || $(MAKE) -C cdmanager/powerej distclean
- dh_clean build-stamp configure-stamp
+ dh_auto_build $(DHFLAGS)
-binary-indep: build-indep
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build-arch
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_installdirs
- dh_install
+override_dh_install:
mkdir -p debian/x2gothinclient-displaymanager/usr/share/x2go/versions/
cp VERSION debian/x2gothinclient-displaymanager/usr/share/x2go/versions/VERSION.x2gothinclient-dispaymanager
mkdir -p debian/x2gothinclient-minidesktop/usr/share/x2go/versions/
cp VERSION debian/x2gothinclient-minidesktop/usr/share/x2go/versions/VERSION.x2gothinclient-minidesktop
mkdir -p debian/x2gothinclient-management/usr/share/x2go/versions/
cp VERSION debian/x2gothinclient-management/usr/share/x2go/versions/VERSION.x2gothinclient-management
- dh_installinit
- dh_installman
- dh_installdebconf
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh_install
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary configure
+override_dh_clean:
+ [ ! -f cdmanager/powerej/Makefile ] || $(MAKE) -C cdmanager/powerej distclean
+ dh_clean
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git
More information about the x2go-commits
mailing list