SHELL=/bin/bash .PHONY: all all: $(foreach F, $(wildcard */*.xcf), ../../public/documentation/user/$(F:.xcf=.png)) ../../public/documentation/user/%.png: %.xcf sed -e "s,#XCF#,$<," -e "s,#PNG#,$@," etc/png.scm | gimp -n -i -b -