view pixmaps/gen-inline-pixbufs.sh @ 7229:ae360f1df2aa v7.4.923

commit https://github.com/vim/vim/commit/6a2697ffd7e894861853b351689b0ddec8901c96 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 19 13:14:30 2015 +0100 patch 7.4.923 Problem: Prototypes not always generated. Solution: Change #if to OR with PROTO.
author Christian Brabandt <cb@256bit.org>
date Thu, 19 Nov 2015 13:15:05 +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