aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-09-05 00:26:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-09-05 00:26:46 +1200
commitb94c199f29ba6223127dfb5c2becda9176e95c9c (patch)
tree54642ac9cbc8b4fd27a7eadb9434256652f26674 /man
parentDon't prescribe msmtp(1) path (diff)
downloaddotfiles-b94c199f29ba6223127dfb5c2becda9176e95c9c.tar.gz
dotfiles-b94c199f29ba6223127dfb5c2becda9176e95c9c.zip
Add mftl(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/mftl.1df30
1 files changed, 30 insertions, 0 deletions
diff --git a/man/man1/mftl.1df b/man/man1/mftl.1df
new file mode 100644
index 00000000..efb2b486
--- /dev/null
+++ b/man/man1/mftl.1df
@@ -0,0 +1,30 @@
+.TH MFTL 1df "September 2016" "Manual page for mftl"
+.SH NAME
+.B mftl
+\- find and list usable-looking targets in Makefiles
+.SH SYNOPSIS
+.B
+mftl
+Makefile
+.br
+.B
+mftl
+Makefile1 Makefile2
+.br
+grep -v foo Makefile |
+.B
+mftl
+.SH DESCRIPTION
+.B mftl
+searches for targets in a Makefile specified as either targets or dependencies.
+Any targets it finds that are simple strings or filenames that look like they
+should be referenced by the user, are printed uniquely sorted to stdout.
+.P
+This is not 100% accurate (and probably can't be); GNU Make's heresies make it
+particularly complicated. For simple POSIX-ish Makefiles, it should work well.
+The idea is to get an overview of what's accessible in a Makefile without
+having to page through the whole thing.
+.SH SEE ALSO
+make(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>