view pixmaps/gen-inline-pixbufs.sh @ 7198:b58e16f9119e v7.4.908

commit https://github.com/vim/vim/commit/a16f472edfa028e5574c7c145d02f3821edbc698 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 2 17:35:43 2015 +0100 patch 7.4.908 Problem: Build error with MingW compiler. (Cesar Romani) Solution: Change #if into #ifdef.
author Christian Brabandt <cb@256bit.org>
date Mon, 02 Nov 2015 17:45:04 +0100
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