gmi-web/Makefile
2021-01-29 18:51:53 +00:00

21 lines
411 B
Makefile

build: format gmi.min.css gmi-web.1 gmi.css.5
gmi-web.1: gmi-web.1.scd
scdoc < $< > $@
gmi.min.css: gmi.css
cat $< | ./node_modules/minify/bin/minify.js --css > $@
gmi.css.5: gmi.css.5.scd
scdoc < $< > $@
format:
./node_modules/prettier/bin-prettier.js --write gmi.css
./node_modules/prettier/bin-prettier.js --write *.js !*.min.js
clean:
rm -rf gmi.min.* gmi-web.1
.PHONY: install clean format