diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a4b9412 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +all: srs-anywhere.html deck-editor.html + +srs-anywhere.html: srs-anywhere.html.tpl style.css srs-anywhere.js + sed '/@@JS@@/r srs-anywhere.js' < srs-anywhere.html.tpl | \ + sed '/@@JS@@/d' | \ + sed '/@@CSS@@/r style.css' | \ + sed '/@@CSS@@/d' > srs-anywhere.html + +deck-editor.html: deck-editor.html.tpl style.css deck-editor.js + sed '/@@JS@@/r deck-editor.js' < deck-editor.html.tpl | \ + sed '/@@JS@@/d' | \ + sed '/@@CSS@@/r style.css' | \ + sed '/@@CSS@@/d' > deck-editor.html + +.PHONY: all clean +clean: + rm *.html |