Make makefile more normal
This commit is contained in:
parent
0a6829ec9f
commit
be259dc9f4
10
Makefile
10
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue