mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
5 lines
204 B
Fish
5 lines
204 B
Fish
|
function __fish_print_make_targets
|
||
|
set files Makefile makefile GNUmakefile
|
||
|
sgrep -h -E '^[^#%=$[:space:]][^#%=$]*:([^=]|$)' $files | cut -d ":" -f 1 | sed -e 's/^ *//;s/ *$//;s/ */\n/g' ^/dev/null
|
||
|
end
|