[redeclipse] 330/494: Move conversion to xpm into dh_auto_install

Martin Werner arand-guest at moszumanska.debian.org
Sun Jun 21 20:52:48 UTC 2015


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

arand-guest pushed a commit to branch debdir
in repository redeclipse.

commit 2bf8b32f3c9874f3dda144dd24a12e84400afbc1
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Mon Jan 9 03:15:14 2012 +0100

    Move conversion to xpm into dh_auto_install
    
    Since the rest of the icon conversions (in the system-install
    target) is done in dh_auto_install, it makes sense to do the xpm
    conversion here as well.
---
 rules | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/rules b/rules
index a726836..13e6d09 100755
--- a/rules
+++ b/rules
@@ -9,22 +9,19 @@ override_dh_auto_clean:
 
 override_dh_auto_build:
 	dh_auto_build -- client server icons
-	install -d debian/tmp/usr/share/pixmaps
-	convert 'src/redeclipse.ico[1]' \
-		debian/tmp/usr/share/pixmaps/redeclipse.xpm
 
 override_dh_strip:
 	dh_strip -predeclipse --dbg-package=redeclipse-dbg
 	dh_strip -predeclipse-server --dbg-package=redeclipse-server-dbg
 	dh_strip
 
-override_dh_prep:
-	dh_prep --exclude=debian/tmp
-
 override_dh_auto_install:
 	dh_auto_install -- prefix=/usr games=/games gamesbin=/games \
 		system-install-client system-install-server \
 		system-install-docs system-install-menus
+	install -d debian/tmp/usr/share/pixmaps
+	convert 'src/redeclipse.ico[1]' \
+		debian/tmp/usr/share/pixmaps/redeclipse.xpm
 
 overrride_dh_builddeb:
 	dh_builddeb -- -Zxz

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



More information about the Pkg-games-commits mailing list