Add print-hierarchy and print-var
This commit is contained in:
parent
beaa0c0f15
commit
8d95b6e820
1 changed files with 11 additions and 0 deletions
|
@ -827,6 +827,17 @@ distclean: clean
|
||||||
fi \
|
fi \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
print-hierarchy:
|
||||||
|
for i in ${SUBDIRS} ${SUBDIRS_AFTER}; do \
|
||||||
|
echo ${PRINT_HIERARCHY_PREFIX}$$i; \
|
||||||
|
cd $$i || exit $$?; \
|
||||||
|
${MAKE} ${MFLAGS} PRINT_HIERARCHY_PREFIX=$$i/ print-hierarchy || exit $$?; \
|
||||||
|
cd .. || exit $$?; \
|
||||||
|
done
|
||||||
|
|
||||||
|
print-var:
|
||||||
|
echo '${${VAR}}'
|
||||||
|
|
||||||
DIR_ENTER = printf "@TERM_EL@@TERM_SETAF6@Entering directory @TERM_BOLD@%s@TERM_SGR0@@TERM_SETAF6@.@TERM_SGR0@\n" "$$i"; cd $$i || exit $$?
|
DIR_ENTER = printf "@TERM_EL@@TERM_SETAF6@Entering directory @TERM_BOLD@%s@TERM_SGR0@@TERM_SETAF6@.@TERM_SGR0@\n" "$$i"; cd $$i || exit $$?
|
||||||
DIR_LEAVE = printf "@TERM_EL@@TERM_SETAF6@Leaving directory @TERM_BOLD@%s@TERM_SGR0@@TERM_SETAF6@.@TERM_SGR0@\n" "$$i"; cd .. || exit $$?
|
DIR_LEAVE = printf "@TERM_EL@@TERM_SETAF6@Leaving directory @TERM_BOLD@%s@TERM_SGR0@@TERM_SETAF6@.@TERM_SGR0@\n" "$$i"; cd .. || exit $$?
|
||||||
DEPEND_STATUS = printf "@TERM_EL@@TERM_SETAF3@Generating dependencies...@TERM_SGR0@\r"
|
DEPEND_STATUS = printf "@TERM_EL@@TERM_SETAF3@Generating dependencies...@TERM_SGR0@\r"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue