mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make: Support GNUmakefile too, where applicable
Add support for GNUmakefile, where originally only Makefile was supported. Not done everywhere, as some of the code involving makefiles is dead anyway. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
14c451854b
commit
f19831245f
7 changed files with 14 additions and 12 deletions
|
|
@ -9,7 +9,7 @@ echo-vars:
|
|||
make -p nothing | grep -B1 "^[A-Z_]* *[?:+]*="
|
||||
|
||||
echo-makefiles:
|
||||
$(Q)strace -f make nothing 2>&1 | sed '/open\(at\)*(.*\(Makefile\|\.mk\)/ !d; s/.*open("//; s/.*openat([A-Z_]\+, "//; s/", O_.*//'
|
||||
$(Q)strace -f make nothing 2>&1 | sed '/open\(at\)*(.*\(GNUmakefile\|makefile\|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"; sed 's/^include/#cat include/' $$f; done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue