summaryrefslogtreecommitdiff
path: root/pixmaps/gen-inline-pixbufs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pixmaps/gen-inline-pixbufs.sh')
-rw-r--r--pixmaps/gen-inline-pixbufs.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/pixmaps/gen-inline-pixbufs.sh b/pixmaps/gen-inline-pixbufs.sh
new file mode 100644
index 000000000..8e11a233c
--- /dev/null
+++ b/pixmaps/gen-inline-pixbufs.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+prefix=stock_
+list=
+
+for file in "$@"
+do
+ name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'`
+ list="$list $prefix$name $file"
+done
+
+gdk-pixbuf-csource --raw --static --build-list $list
+