view pixmaps/gen-inline-pixbufs.sh @ 9976:e448370630b2 v7.4.2261

commit https://github.com/vim/vim/commit/7df0f6313a46b80d760c9a80241922544333351c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 26 19:56:00 2016 +0200 patch 7.4.2261 Problem: Build fails with small features. Solution: Move "else" inside the #ifdef.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Aug 2016 20:00:13 +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