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

lool at users.alioth.debian.org lool at users.alioth.debian.org
Sun May 6 16:08:07 UTC 2007


Author: lool
Date: Sun May  6 16:08:06 2007
New Revision: 10818

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=10818
Log:
* Minor cleanup.

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=10818&op=diff
==============================================================================
--- packages/unstable/human-icon-theme/debian/rules (original)
+++ packages/unstable/human-icon-theme/debian/rules Sun May  6 16:08:06 2007
@@ -22,11 +22,13 @@
 	    find debian/$(DISTRO) -name '*.sng' | xargs sng; \
 	fi
 
+ICON_DIR := debian/human-icon-theme/usr/share/icons/Human
+
 binary-post-install/human-icon-theme::
 	# replace the Ubuntu logos with the distribution overrides
 	if [ -d debian/$(DISTRO) ]; then \
-	     cp -rvf debian/$(DISTRO)/* debian/human-icon-theme/usr/share/icons/Human/; \
+	    cp -rvf debian/$(DISTRO)/* $(ICON_DIR)/; \
 	fi
-	# cleaning sng files from the package
-	find debian/human-icon-theme/usr/share/icons/Human/ -name '*.sng' | xargs rm -fv
+	# don't ship the sng files
+	find $(ICON_DIR) -name '*.sng' | xargs rm -fv
 




More information about the pkg-gnome-commits mailing list