[X2Go-Commits] [x2godesktopsharing] 02/02: debian/rules: Add dh_clean override, so that the build dir gets tidied up properly after build (this really needs to go into the qmake .pro file, but debian/rules is easier...).

git-admin at x2go.org git-admin at x2go.org
Sun Nov 11 16:38:38 CET 2018


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

x2go pushed a commit to branch master
in repository x2godesktopsharing.

commit e31b9e67181c3e40e6025873e5d8c0b1ec76fd42
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Nov 11 15:38:01 2018 +0000

    debian/rules:  Add dh_clean override, so that the build dir gets tidied up properly after build (this really needs to go into the qmake .pro file, but debian/rules is easier...).
---
 debian/changelog |  4 ++++
 debian/rules     | 10 ++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7996461..b61b68c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,10 @@ x2godesktopsharing (3.1.1.5-0x2go1) UNRELEASED; urgency=medium
     + Convert to DH packaging style. Build against Qt5.
   * debian/control:
     + Bump Standards-Version: to 4.2.1. No changes needed.
+  * debian/rules:
+    + Add dh_clean override, so that the build dir gets tidied up
+      properly after build (this really needs to go into the qmake
+      .pro file, but debian/rules is easier...).
   * debian/x2godesktopsharing.menu:
     + Drop file. The menu file is not allowed if a .desktop file is present.
 
diff --git a/debian/rules b/debian/rules
index 2ce4f2c..e0d7762 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,3 +31,13 @@ override_dh_install:
 	install -m 644 icons/64x64/x2godesktopsharing.png $(CURDIR)/debian/x2godesktopsharing/usr/share/icons/hicolor/64x64/apps/x2godesktopsharing.png
 	install -m 644 icons/32x32/x2godesktopsharing.png $(CURDIR)/debian/x2godesktopsharing/usr/share/icons/hicolor/32x32/apps/x2godesktopsharing.png
 	dh_install
+
+override_dh_clean:
+	-dh_clean
+	rm -f *.o x2godesktopsharing_*.qm
+	rm -f moc_*.cpp moc_*.h
+	rm -f .qmake.stash
+	rm -f qmake_qmake_immediate.qrc
+	rm -f qrc_qmake_qmake_immediate.cpp
+	rm -f ui_dlg.h
+	rm -f x2godesktopsharing

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


More information about the x2go-commits mailing list