From 5616620edbb93bc17c644a3988ed3f0fc9a7650f Mon Sep 17 00:00:00 2001 From: Craig Small Date: Sun, 13 Nov 2022 15:49:15 +1100 Subject: [PATCH] nls: Fix man page installation --- Makefile.am | 17 ++++++++++++++++- man-po/Makefile.am | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 251c374..e116166 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,9 +22,25 @@ bin_PROGRAMS = \ src/prtstat \ src/pstree +dist_man_MANS = \ + doc/killall.1 \ + doc/pslog.1 \ + doc/prtstat.1 \ + doc/pstree.1 \ + doc/peekfd.1 + +EXTRA_DIST = \ + src/signames.c \ + README.md \ + misc/git-version-gen + if WANT_FUSER bin_PROGRAMS += src/fuser + dist_man_MANS += doc/fuser.1 +else + EXTRA_DIST += doc/fuser.1 endif + if WANT_PEEKFD_I386 bin_PROGRAMS += src/peekfd AM_CPPFLAGS += -DI386 @@ -82,7 +98,6 @@ nodist_src_killall_SOURCES = signames.h BUILT_SOURCES = src/signames.h .version -EXTRA_DIST = src/signames.c README.md misc/git-version-gen CLEANFILES = src/signames.h .version diff --git a/man-po/Makefile.am b/man-po/Makefile.am index cf01a17..3102908 100644 --- a/man-po/Makefile.am +++ b/man-po/Makefile.am @@ -78,7 +78,7 @@ uninstall-local: files="$$files $(srcdir)/$$lang/$$trans"; \ fi; \ done; \ - $(MAKE) uninstall-man \ + $(MAKE) -C .. uninstall-man \ mandir="$(mandir)/$$lang" \ man_MANS="" \ src_MANS="$$files"; \ -- 2.40.0