summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2013-12-17 13:49:01 +0100
committerDidier Raboud <odyx@debian.org>2013-12-17 13:49:01 +0100
commita59d1606c3592fad39194c0bc6b49e555acf9f6f (patch)
tree3eb225feb5d3e1775af744d81931a9c7be4a0ed1 /debian/rules
parenta5c441287542466e4ae98558fc323dab2fcdda78 (diff)
downloadcolobot-a59d1606c3592fad39194c0bc6b49e555acf9f6f.tar.gz
colobot-a59d1606c3592fad39194c0bc6b49e555acf9f6f.tar.bz2
colobot-a59d1606c3592fad39194c0bc6b49e555acf9f6f.zip
Add menu file and xpm icon
Therefore add imagemagick to Build-Depends to convert the icon from the 32x32 png Closes: #731838
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 171cbb8..67410d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,3 +14,9 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build -a
dh_auto_build -i -- doc
+ # obj-* is the default builddirectory in debhelper
+ convert obj-$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)/desktop/32/colobot.png debian/colobot.xpm
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f debian/colobot.xpm