summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek <stalking@disallow.ed>2021-10-31 23:55:32 +0100
committerWojtek <stalking@disallow.ed>2021-10-31 23:55:32 +0100
commit69574783196ba1af7f7c428ae8132d7379277c20 (patch)
tree2a2f9a1bb13f07edb120eb87f716e0b626f0a229 /Makefile
downloadchrysantemum-69574783196ba1af7f7c428ae8132d7379277c20.tar.gz
chrysantemum-69574783196ba1af7f7c428ae8132d7379277c20.zip
initial commitHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e9efaee
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+%.html: %.html.template
+ awk '{line = $$0; if (match($$0, /<IMPORT (.*)\/>/, ary) != 0) system("cat " ary[1]); else print line}' $< > $@
+
+chryzantem.html: petals.html center.html face.html stem.html text.html
+
+_inner_row_delay _flower_delay petals.html: make_petals.sh
+ ./make_petals.sh > petals.html
+
+center.html: make_center.sh _inner_row_delay
+ ./make_center.sh > center.html
+
+_face_delay face.html: make_face.sh _flower_delay
+ ./make_face.sh > face.html
+
+_stem_delay stem.html: make_stem.sh _face_delay
+ ./make_stem.sh > stem.html
+
+text.html: make_text.sh _stem_delay
+ ./make_text.sh > text.html
+
+clean:
+ rm -rf *_delay petals.html center.html face.html stem.html text.html chryzantem.html
+
+.PHONY: clean