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.
This commit is contained in:
Adam Spiers 2015-11-09 10:08:31 +00:00
parent f1b67d2432
commit dc6a141da4

View file

@ -144,7 +144,7 @@ lib/Stow.pm: lib/Stow.pm.in $(DEFAULT_IGNORE_LIST) Makefile
# The below rules should only be needed by developers. # 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 [ -d doc ] || mkdir doc # required in vpath mode
$(edit) < $< | pod2man > $@ $(edit) < $< | pod2man > $@