diff options
author | Emanuele Aina <emanuele.aina@collabora.com> | 2010-04-19 18:59:16 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-03-08 20:09:06 +0800 |
commit | 80eac7fd3c665f7960f07f9a8aaddbff8f4f9467 (patch) | |
tree | 9c5fe9f16ead05a81a1b3636ac11f004bf538be0 /data/icons/utils.mk | |
parent | 4c1b102df95e07a4469bbfb38fbc8ef190458a79 (diff) | |
download | gsoc2013-empathy-80eac7fd3c665f7960f07f9a8aaddbff8f4f9467.tar gsoc2013-empathy-80eac7fd3c665f7960f07f9a8aaddbff8f4f9467.tar.gz gsoc2013-empathy-80eac7fd3c665f7960f07f9a8aaddbff8f4f9467.tar.bz2 gsoc2013-empathy-80eac7fd3c665f7960f07f9a8aaddbff8f4f9467.tar.lz gsoc2013-empathy-80eac7fd3c665f7960f07f9a8aaddbff8f4f9467.tar.xz gsoc2013-empathy-80eac7fd3c665f7960f07f9a8aaddbff8f4f9467.tar.zst gsoc2013-empathy-80eac7fd3c665f7960f07f9a8aaddbff8f4f9467.zip |
"Build" a local copy of the icons to be used from sources
https://bugzilla.gnome.org/show_bug.cgi?id=616159
Diffstat (limited to 'data/icons/utils.mk')
-rw-r--r-- | data/icons/utils.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/data/icons/utils.mk b/data/icons/utils.mk new file mode 100644 index 000000000..84b1c8207 --- /dev/null +++ b/data/icons/utils.mk @@ -0,0 +1,11 @@ +# define a variable containing a single space +blank := +space := $(blank) $(blank) +# split string $3 with $1 as separator and return the token in position $2 +define token +$(word $2, $(subst $1, ,$3)) +endef +# split string $3 with $1 as separator and reassemble it using the indexes in $2 +define reorder +$(subst $(space),$1,$(foreach i,$2,$(call token,$1,$i,$3))) +endef |