[ace-of-penguins] 66/141: debian/rules: (override_dh_auto_install): Fix icon install

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 13:54:58 UTC 2016


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

apo-guest pushed a commit to branch master
in repository ace-of-penguins.

commit 5fcccad8e073ace62b677bf311f757ea65b60452
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Sat Nov 19 17:06:48 2011 +0200

    debian/rules: (override_dh_auto_install): Fix icon install
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 1c750eb..05d69d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 PACKAGE		= ace-of-penguins
 PRGPREFIX 	= ace-
+ICON_NAME 	= penguin-pegged.png
+ICON_SRC 	= debian/penguin-pegged.png
 
 # list of programs taken from games/Makefile
 PROGS = \
@@ -111,7 +113,7 @@ override_dh_auto_install:
 	rm -f $(LIBROOTDIR)/*.la
 
 	# Install custom icon
-	install -D -m 644 debian/penguin-pegged.png $(ICONDIR)/hicolor/24x24/apps
+	install -D -m 644 $(ICON_SRC) $(ICONDIR)/hicolor/24x24/apps/$(ICON_NAME)
 
 override_dh_installdocs:
 	# Policy: COPYING file is not needed

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



More information about the Pkg-games-commits mailing list