mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 09:18:40 -09:00
POD is somewhat more simple and flexible. I now use ncdu.pod to generate a nicely formatted manual page on the ncdu homepage, rather than displaying a rendering of ncdu.1 formatted in a monospace font. The tarball will still contain an ncdu.1, so there's no extra dependency on pod2man. (Unless you clone from git, since ncdu.1 isn't in the repo)
7 lines
281 B
Makefile
7 lines
281 B
Makefile
man_MANS = ncdu.1
|
|
EXTRA_DIST = ncdu.1 ncdu.pod
|
|
|
|
# Don't "clean" ncdu.1, it should be in the tarball so that pod2man isn't a
|
|
# build dependency for those who use the tarball.
|
|
ncdu.1: ncdu.pod Makefile
|
|
pod2man --center "ncdu manual" --release "@PACKAGE@-@VERSION@" ncdu.pod >ncdu.1
|