9184e2c792
--body returns just the innerHTML of the body gmi.min.css is created in the script not by Makefile refactor yargs code, better --help menu
21 lines
441 B
Makefile
21 lines
441 B
Makefile
build: format gmi-web.1 gmi.css.5
|
|
|
|
gmi-web.1: gmi-web.1.scd
|
|
scdoc < $< > $@
|
|
|
|
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
|
|
|
|
example/test.html: example/test.gmi
|
|
./test.sh
|
|
|
|
clean:
|
|
rm -rf gmi.min.* gmi-web.1 gmi.css.5 node_modules
|
|
|
|
.PHONY: clean format
|