mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 09:18:40 -09:00
Makefile is generated by configure, and thus guaranteed to be newer than ncdu.1, causing make to regenerate ncdu.1 regardless of whether pod2man is installed or not. That kinda defeats the purpose of including ncdu.1 in the distribution.
39 lines
716 B
Makefile
39 lines
716 B
Makefile
bin_PROGRAMS=ncdu
|
|
|
|
ncdu_SOURCES=\
|
|
src/browser.c\
|
|
src/delete.c\
|
|
src/dirlist.c\
|
|
src/dir_common.c\
|
|
src/dir_export.c\
|
|
src/dir_import.c\
|
|
src/dir_mem.c\
|
|
src/dir_scan.c\
|
|
src/exclude.c\
|
|
src/help.c\
|
|
src/main.c\
|
|
src/path.c\
|
|
src/util.c
|
|
|
|
noinst_HEADERS=\
|
|
src/browser.h\
|
|
src/delete.h\
|
|
src/dir.h\
|
|
src/dirlist.h\
|
|
src/exclude.h\
|
|
src/global.h\
|
|
src/help.h\
|
|
src/khash.h\
|
|
src/path.h\
|
|
src/util.h\
|
|
src/yopt.h
|
|
|
|
|
|
man_MANS=ncdu.1
|
|
EXTRA_DIST=ncdu.1 doc/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: $(srcdir)/doc/ncdu.pod
|
|
pod2man --center "ncdu manual" --release "@PACKAGE@-@VERSION@" "$(srcdir)/doc/ncdu.pod" >ncdu.1
|
|
|