view pixmaps/gen-inline-pixbufs.sh @ 14740:485487e34784 v8.1.0382

patch 8.1.0382: some make programs can't handle "xdiff/../" commit https://github.com/vim/vim/commit/0f7683f9739087f3c7a4678c5182ed0517523b4a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 13 18:01:31 2018 +0200 patch 8.1.0382: some make programs can't handle "xdiff/../" Problem: Some make programs can't handle dependency on "xdiff/../". Solution: Strip it out.
author Christian Brabandt <cb@256bit.org>
date Thu, 13 Sep 2018 18:15:05 +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