From 4c995417bc4207118eb9ae4848086c89bf1132f7 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 17 Jan 2014 11:40:59 -0800 Subject: [PATCH] Remove incorrect use of EXTRA_DIST for man pages Setting the 'dist_' prefix is the correct way to instruct Automake to include these files in the distribution. The EXTRA_DIST variable is reserved for files which are not covered by the automatic rules. http://www.gnu.org/software/automake/manual/automake.html#Basics Signed-off-by: Brian Behlendorf --- man/man1/Makefile.am | 3 +-- man/man5/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/man/man1/Makefile.am b/man/man1/Makefile.am index c91f63855f27..d6becca6eadd 100644 --- a/man/man1/Makefile.am +++ b/man/man1/Makefile.am @@ -1,5 +1,4 @@ -man_MANS = splat.1 -EXTRA_DIST = $(man_MANS) +dist_man_MANS = splat.1 install-data-local: $(INSTALL) -d -m 0755 "$(DESTDIR)$(mandir)/man1" diff --git a/man/man5/Makefile.am b/man/man5/Makefile.am index 06a823325132..fb22beb11c1f 100644 --- a/man/man5/Makefile.am +++ b/man/man5/Makefile.am @@ -1,5 +1,4 @@ -man_MANS = spl-module-parameters.5 -EXTRA_DIST = $(man_MANS) +dist_man_MANS = spl-module-parameters.5 install-data-local: $(INSTALL) -d -m 0755 "$(DESTDIR)$(mandir)/man5"