From 330d5d96e6c40200bc0b2e03ee76bb09a8c4eae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 22 Jan 2016 14:30:39 +0100 Subject: [PATCH] Do not install man3 twice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.3.1 installs section 3 manual pages twice and that fails because of an attempt to rewrite file. This is caused by listing the manual pages twice in the doc/man/Makefile.am: first in dist_man_MANS, second in man3_MANS. Automake concatenates the values. This patch removes dist_man_MANS definition (and dist_noinst_DATA one too) because the manual pages can be generated at build time. Signed-off-by: Petr Písař --- doc/man/Makefile.am | 7 ------- 1 file changed, 7 deletions(-) diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index b84e868..0dac188 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -1,13 +1,6 @@ BUILT_MAN_FILES = $(patsubst doc/%.page,doc/man/%.3,$(wildcard doc/*.page)) CLEANFILES += $(wildcard doc/man/*.3) -dist_man_MANS = $(BUILT_MAN_FILES) -# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals. -# Unlike with other dist primaries, the files are not distributed if the -# conditional is false. -# Work the bug around until it is fixed: -dist_noinst_DATA = $(dist_man_MANS) - man3_MANS = $(BUILT_MAN_FILES) %.3: ../%.page -- 2.5.0