aboutsummaryrefslogtreecommitdiff
path: root/common.mk
blob: 5944b641848f20e30d2f4840f360f27f8f864779 (plain)
1
2
3
4
5
6
7
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 $< > $@