Make makefile more normal

This commit is contained in:
Robin Malley 2023-08-16 22:04:50 +00:00
parent 0a6829ec9f
commit be259dc9f4
1 changed files with 6 additions and 4 deletions

View File

@ -10,6 +10,8 @@ AWK=awk
GREP=grep
SORT=sort
TEST=test
CAT=cat
TRBLDOC=trbldoc
# Config
worker_chroot = $(smr_var)/kore_worker
@ -178,11 +180,11 @@ cov: $(built) ## code coverage (based on unit tests)
$(Q)$(ECHO) "open $(app_root)/luacov.report.out to view coverage results."
$(sql_docs) : doc/schema/%.dot : src/sql/create_table_%.sql
cat $< | tools/doc_sql.sh > $@
$(Q)$(CAT) $< | tools/doc_sql.sh > $@
doc: $(sql_docs)
rm -rf .trblcache
~/Programs/trbldoc/trbldoc.sh doc src README.md
cd .trblcache/built && python3 -m http.server
$(Q)$(RM) -rf .trblcache
$(Q)$(TRBLDOC) doc src README.md
# cd .trblcache/built && python3 -m http.server
.PHONY: doc