formulaic/scripts/show-help.pl

4 lines
129 B
Perl

#!/usr/bin/env perl -nl
# Extracts help entries and shows them.
m{^([\w\-]+\:).*?###(.*)$} && printf("make %-18s %s\n", $1, $2);