defs.mk, dirs.mk, topdir.mk: Beautify cat-makefiles target output

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2018-03-04 10:01:10 +00:00
commit 5b737e50f8
3 changed files with 2 additions and 3 deletions

View file

@ -1084,7 +1084,7 @@ echo-makefiles:
$(Q)strace -f make nothing 2>&1 | sed '/open\(at\)*(.*\(Makefile\|\.mk\)/ !d; s/.*open("//; s/.*openat([A-Z_]\+, "//; s/", O_.*//'
cat-makefiles:
Q=@ make --no-print-directory echo-makefiles | while read f; do echo "# =================================================== $$f"; cat $$f; done
Q=@ make --no-print-directory echo-makefiles | while read f; do echo "# =================================================== $$f"; sed 's/^include/#cat include/' $$f; done
doc-module:
$(BROWSER) $(JANWARE_URL_DOC_MODULE)