Compare commits
No commits in common. "158b3d54fa719c05547145de70f6d90b68af43bd" and "f7792d0b0210dea3f18990b7cf98ecf6a0b9e932" have entirely different histories.
158b3d54fa
...
f7792d0b02
2 changed files with 16 additions and 13 deletions
13
Makefile
13
Makefile
|
@ -1,13 +0,0 @@
|
||||||
.PHONY: all png clean
|
|
||||||
|
|
||||||
all: png
|
|
||||||
|
|
||||||
png: images/boardicons.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/search.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/boardicons.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/search.png images/icons/unread_replies.png images/icons/unread.png
|
|
16
images/Makefile
Normal file
16
images/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
RSVGCONVERT := $(shell command -v rsvg-convert 2> /dev/null)
|
||||||
|
OPTIPNG := $(shell command -v optipng 2> /dev/null)
|
||||||
|
|
||||||
|
.PHONY: all png clean
|
||||||
|
|
||||||
|
all: png
|
||||||
|
|
||||||
|
png: boardicons.png icons/admin.png icons/alerts.png icons/home.png icons/login.png icons/members.png icons/moderate.png icons/pm.png icons/profile.png icons/recent.png icons/search.png icons/unread_replies.png icons/unread.png
|
||||||
|
|
||||||
|
%.png: %.svg
|
||||||
|
mkdir --parents $(shell dirname $@)
|
||||||
|
$(RSVGCONVERT) $< --output $@
|
||||||
|
$(OPTIPNG) -o7 -quiet $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm --force boardicons.png icons/admin.png icons/alerts.png icons/home.png icons/login.png icons/members.png icons/moderate.png icons/pm.png icons/profile.png icons/recent.png icons/search.png icons/unread_replies.png icons/unread.png
|
Loading…
Reference in a new issue