aboutsummaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.mk b/common.mk
new file mode 100644
index 0000000..5944b64
--- /dev/null
+++ b/common.mk
@@ -0,0 +1,8 @@
+%.min.js: %.js
+ sed 's/\/\/.*$$//g' $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@
+
+%.min.css: %.css
+ cat $< | tr '\n' ' ' | sed 's/\t//g' | sed 's/ */ /g' > $@
+
+%.html: %.m4
+ m4 $< > $@