[Makefile] Add a clean action to remove the generated icons
This commit is contained in:
parent
ab44fe0a6d
commit
e9b7333cfa
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
RSVGCONVERT := $(shell command -v rsvg-convert 2> /dev/null)
|
RSVGCONVERT := $(shell command -v rsvg-convert 2> /dev/null)
|
||||||
OPTIPNG := $(shell command -v optipng 2> /dev/null)
|
OPTIPNG := $(shell command -v optipng 2> /dev/null)
|
||||||
|
|
||||||
.PHONY: all png
|
.PHONY: all png clean
|
||||||
|
|
||||||
all: png
|
all: png
|
||||||
|
|
||||||
|
@ -11,3 +11,6 @@ png: admin.png alerts.png home.png login.png members.png moderate.png pm.png pro
|
||||||
mkdir --parents $(shell dirname $@)
|
mkdir --parents $(shell dirname $@)
|
||||||
$(RSVGCONVERT) $< --output $@
|
$(RSVGCONVERT) $< --output $@
|
||||||
$(OPTIPNG) -o7 -quiet $@
|
$(OPTIPNG) -o7 -quiet $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm --force admin.png alerts.png home.png login.png members.png moderate.png pm.png profile.png recent.png search.png unread_replies.png unread.png
|
||||||
|
|
Loading…
Reference in a new issue