summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fc2b303..a2e8fe4 100644
--- a/Makefile
+++ b/Makefile
@@ -4,16 +4,15 @@ all: horns-black-path.svg
maroon = 8a181a
gold = e5b217
-black = 000000
-horns-%-text.svg: horns-text.svg.in
- sed 's|@COLOR@|$($*)|g' < $< > $@
+horns-%-text.svg: horns-black-text.svg
+ sed 's|#000000@|#$($*)|g' < $< > $@
%-path.svg: %-text.svg
inkscape --file=$< --export-text-to-path --export-plain-svg=$@
clean:
- rm -f -- *.svg
+ rm -f -- *-path.svg $(filter-out horns-black-text.svg,$(wildcard horns-*-text.svg))
.PHONY: all clean
.SECONDARY: