mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
defs.mk, dirs.mk, topdir.mk: Beautify cat-makefiles target output
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
da63399cea
commit
5b737e50f8
3 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ SUBDIR_TARGETS = $(filter $(ALLOWED_SUBDIR_TARGETS),$(MAKECMDGOALS))
|
|||
endif
|
||||
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
PREREQ += $(call proj_query, prereq build $(PROJECT))
|
||||
PREREQ_DIRS = $(foreach p, $(PREREQ), $(call proj_dir, $(p)))
|
||||
PREREQ_DIRS_DONE = $(addsuffix /dirs-all.done,$(filter-out $(TOPDIR) /opt/%,$(PREREQ_DIRS)))
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ prefix.done:
|
|||
touch $@
|
||||
|
||||
echo-prereq-build:
|
||||
@echo $(call proj_query, requires-pkg --flavours "build" $(PROJECT))
|
||||
@echo $(call proj_query, pkg-requires --flavours "build" $(PROJECT))
|
||||
|
||||
list-files echo-files:
|
||||
@$(LIST_VCS_FILES) -f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue