From dc6a141da4d684e4a7b1e32899ad86624bfd3c4a Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Mon, 9 Nov 2015 10:08:31 +0000 Subject: [PATCH] fix make distcheck The dependency of the distributed file stow.8 on the non-distributed file Makefile was causing this error: ERROR: files left in build directory after distclean: ./doc/stow.8 The automake FAQ explains why this happens: https://www.gnu.org/software/automake/manual/html_node/Errors-with-distclean.html so change stow.8 to depend on Makefile.am which is distributed. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f406bf0..2cea9a6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -144,7 +144,7 @@ lib/Stow.pm: lib/Stow.pm.in $(DEFAULT_IGNORE_LIST) Makefile # The below rules should only be needed by developers. ############################################################################## -doc/stow.8: bin/stow.in Makefile +doc/stow.8: bin/stow.in Makefile.am [ -d doc ] || mkdir doc # required in vpath mode $(edit) < $< | pod2man > $@