smf-theme/Makefile

13 lines
697 B
Makefile

.PHONY: all png clean
all: png
png: images/icons/admin.png images/icons/alerts.png images/icons/home.png images/icons/login.png images/icons/members.png images/icons/moderate.png images/icons/pm.png images/icons/profile.png images/icons/recent.png images/icons/unread_replies.png images/icons/unread.png
%.png: %.svg
mkdir --parents $(shell dirname $@)
rsvg-convert $< --output $@
optipng -o7 -quiet $@
clean:
rm --force images/icons/admin.png images/icons/alerts.png images/icons/home.png images/icons/login.png images/icons/members.png images/icons/moderate.png images/icons/pm.png images/icons/profile.png images/icons/recent.png images/icons/unread_replies.png images/icons/unread.png