gmi-web/Makefile
2021-01-29 06:48:39 +00:00

20 lines
406 B
Makefile

PREFIX=/usr/local
INSTALLDIR=$(DESTDIR)$(PREFIX)
format:
./node_modules/prettier/bin-prettier.js --write gmi.css
./node_modules/prettier/bin-prettier.js --write *.js !*.min.js
gmi.min.css: gmi.css
cat $< | ./node_modules/minify/bin/minify.js --css > $@
gmi-web.1: gmi-web.1.scd
scdoc < $< > $@
build: format gmi.min.css gmi-web.1
clean:
rm -rf gmi.min.* gmi-web.1
.PHONY: install clean format