view pixmaps/gen-inline-pixbufs.sh @ 8688:7ec1aa86dc80 v7.4.1633

commit https://github.com/vim/vim/commit/b763eba7ae3540cd879f7c29882a29308f9688db Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 21 22:40:03 2016 +0100 patch 7.4.1633 Problem: If the help tags file was removed "make install" fails. (Tony Mechelynck) Solution: Only try moving the file if it exists.
author Christian Brabandt <cb@256bit.org>
date Mon, 21 Mar 2016 22:45:06 +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