view pixmaps/gen-inline-pixbufs.sh @ 8893:d5d2e48666bd v7.4.1733

commit https://github.com/vim/vim/commit/839e954aaa72ef62f65416d177f829e681c15466 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 14 16:46:02 2016 +0200 patch 7.4.1733 Problem: "make install" doesn't know about cross-compiling. (Christian Neukirchen) Solution: Add CROSS_COMPILING. (closes https://github.com/vim/vim/issues/740)
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Apr 2016 17:00:05 +0200
parents 3fc0f57ecb91
children d4faa2c5211b
line wrap: on
line source

#! /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