view pixmaps/gen-inline-pixbufs.sh @ 10034:0b57c032e9b0 v7.4.2289

commit https://github.com/vim/vim/commit/7683aaa5061e26d4bc52fdf40be66789e9e4fec0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 28 21:00:50 2016 +0200 patch 7.4.2289 Problem: When installing and $DESTDIR is set the icons probably won't be installed. Solution: Create the icon directories if $DESTDIR is not empty. (Danek Duvall)
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Aug 2016 21:15:06 +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