gmi-web/Makefile
2021-01-30 16:32:44 +00:00

21 lines
475 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 README.md
./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 node_modules
.PHONY: clean format