r10497 - /packages/unstable/human-icon-theme/debian/rules

alanbach-guest at users.alioth.debian.org alanbach-guest at users.alioth.debian.org
Thu Apr 26 14:08:23 UTC 2007


Author: alanbach-guest
Date: Thu Apr 26 14:08:22 2007
New Revision: 10497

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=10497
Log:
Fixed rules file

Modified:
    packages/unstable/human-icon-theme/debian/rules

Modified: packages/unstable/human-icon-theme/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/human-icon-theme/debian/rules?rev=10497&op=diff
==============================================================================
--- packages/unstable/human-icon-theme/debian/rules (original)
+++ packages/unstable/human-icon-theme/debian/rules Thu Apr 26 14:08:22 2007
@@ -5,31 +5,32 @@
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
-DIST=`lsb_release -si`
-	
+DISTRO=$(shell lsb_release -si)
+
 # Anyway, defaults to Debian
--test -z $DIST && DIST="Debian"
+-test -z ${DISTRO} && DISTRO="Debian"
 
 clean::
-	-test -e debian/$DIST/start-here-22x22.png && \
-		rm debian/$DIST/start-here-22x22.png
-	-test -e debian/$DIST/start-here-24x24.png && \
-		rm debian/$DIST/start-here-24x24.png
-	-test -e debian/$DIST/start-here-48x48.png && \
-		rm debian/$DIST/start-here-48x48.png
+	echo ${DISTRO}
+	-test -e debian/${DISTRO}/start-here-22x22.png && \
+		rm debian/${DISTRO}/start-here-22x22.png
+	-test -e debian/${DISTRO}/start-here-24x24.png && \
+		rm debian/${DISTRO}/start-here-24x24.png
+	-test -e debian/${DISTRO}/start-here-48x48.png && \
+		rm debian/${DISTRO}/start-here-48x48.png
 
 build:
-	sng debian/$DIST/*.sng
+	sng debian/${DISTRO}/*.sng
 	
 binary-post-install/human-icon-theme::
 	# replace Ubuntu logo with Debian or Parsix
-	install -D -m 644 -o root -g root debian/$DIST/start-here-22x22.png \
+	install -D -m 644 -o root -g root debian/${DISTRO}/start-here-22x22.png \
 		debian/human-icon-theme/usr/share/icons/Human/22x22/places/start-here.png
-	install -D -m 644 -o root -g root debian/$DIST/start-here-24x24.png \
+	install -D -m 644 -o root -g root debian/${DISTRO}/start-here-24x24.png \
 		debian/human-icon-theme/usr/share/icons/Human/24x24/places/start-here.png
-	install -D -m 644 -o root -g root debian/$DIST/start-here-48x48.png \
+	install -D -m 644 -o root -g root debian/${DISTRO}/start-here-48x48.png \
 		debian/human-icon-theme/usr/share/icons/Human/48x48/places/start-here.png
-	install -D -m 644 -o root -g root debian/$DIST/start-here.svg \
+	install -D -m 644 -o root -g root debian/${DISTRO}/start-here.svg \
 		debian/human-icon-theme/usr/share/icons/Human/scalable/places/start-here.svg	
 	
 




More information about the pkg-gnome-commits mailing list