[megaglest] 137/143: Remove empty data directory and the ini files which are also provided by

Markus Koschany apo-guest at moszumanska.debian.org
Sat Jan 31 20:46:29 UTC 2015


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

apo-guest pushed a commit to branch master
in repository megaglest.

commit f6169e5b9f40507c4a325db1e444525a62b9b3fb
Author: Markus Koschany <apo at gambaru.de>
Date:   Sat Jan 31 17:56:55 2015 +0100

    Remove empty data directory and the ini files which are also provided by
    
    megaglest-data.
---
 debian/changelog | 2 ++
 debian/rules     | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c709fb8..551e4bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ megaglest (3.11.0+dfsg-1) experimental; urgency=medium
   * Drop wxWidgets-assertions.patch. Merged upstream.
   * Drop clean file. Let the build system handle that.
   * Update debian/copyright for new release.
+  * Remove empty data directory and the ini files which are also provided by
+    megaglest-data.
 
  -- Markus Koschany <apo at gambaru.de>  Sat, 31 Jan 2015 17:51:32 +0100
 
diff --git a/debian/rules b/debian/rules
index 08fa789..85a9cc9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,5 +21,12 @@ override_dh_auto_clean:
 	rm -rf mk/linux/mojosetup/
 	dh_auto_clean
 
+override_dh_install:
+	dh_install
+	# Remove empty directory and the ini files which are also provided by
+	# megaglest-data
+	$(RM) -r debian/megaglest/usr/share/games/megaglest/data
+	$(RM) debian/megaglest/usr/share/games/megaglest/glest*
+
 get-orig-source:
 	uscan --verbose --repack --compression xz --force-download

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



More information about the Pkg-games-commits mailing list