mirror of
https://github.com/demostf/maps.git
synced 2026-06-03 21:24:06 +02:00
import
This commit is contained in:
commit
7afbfefaf6
55 changed files with 646 additions and 0 deletions
17
images/Makefile
Normal file
17
images/Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
SOURCES := $(wildcard src/*.xcf)
|
||||
FILES :=$(subst src/, dist/, $(SOURCES))
|
||||
PNGS := $(FILES:.xcf=.png)
|
||||
JPGS := $(FILES:.xcf=.jpg)
|
||||
WEBPS := $(FILES:.xcf=.webp)
|
||||
|
||||
%.jpg: %.png
|
||||
convert $< $@
|
||||
|
||||
%.webp: %.png
|
||||
convert $< -quality 80 -define webp:image-hint=photo -define webp:auto-filter=true $@
|
||||
|
||||
dist/%.png: src/%.xcf
|
||||
xcf2png $< -o $@
|
||||
convert $@ -trim +repage $@
|
||||
|
||||
all: $(PNGS) $(JPGS) $(WEBPS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue