view pixmaps/gen-inline-pixbufs.sh @ 31089:bbd5549acced v9.0.0879

patch 9.0.0879: unnecessary nesting in makefile Commit: https://github.com/vim/vim/commit/dcbdd82d059a9b621e09f4447446a92ae2562e16 Author: K.Takata <kentkt@csc.jp> Date: Mon Nov 14 14:50:15 2022 +0000 patch 9.0.0879: unnecessary nesting in makefile Problem: Unnecessary nesting in makefile. Solution: Join "else" and "ifeq". (Ken Takata, closes https://github.com/vim/vim/issues/11547)
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Nov 2022 16:00:05 +0100
parents d4faa2c5211b
children
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