More fixes to "make distcheck"
As with dc6a141d
, the dependency of distributed files on non-distributed
files was causing this error:
ERROR: files left in build directory after distclean:
The automake FAQ explains why this happens:
https://www.gnu.org/software/automake/manual/html_node/Errors-with-distclean.html
so change the dependency to Makefile.am which is distributed.
This commit is contained in:
parent
c482b0291d
commit
b5dbc3b7b4
1 changed files with 3 additions and 3 deletions
|
@ -121,7 +121,7 @@ check_pmdir = \
|
|||
fi; \
|
||||
echo
|
||||
|
||||
bin/stow: bin/stow.in Makefile
|
||||
bin/stow: bin/stow.in Makefile.am
|
||||
[ -d bin ] || mkdir bin # required in vpath mode
|
||||
@$(check_pmdir)
|
||||
@$(calc_use_lib_pmdir); \
|
||||
|
@ -129,13 +129,13 @@ bin/stow: bin/stow.in Makefile
|
|||
@echo "Generated $@ from $<"
|
||||
chmod +x $@
|
||||
|
||||
bin/chkstow: bin/chkstow.in Makefile
|
||||
bin/chkstow: bin/chkstow.in Makefile.am
|
||||
@[ -d bin ] || mkdir bin # required in vpath mode
|
||||
@$(edit) < $< > $@
|
||||
@echo "Generated $@ from $<"
|
||||
chmod +x $@
|
||||
|
||||
lib/Stow.pm: lib/Stow.pm.in $(DEFAULT_IGNORE_LIST) Makefile
|
||||
lib/Stow.pm: lib/Stow.pm.in $(DEFAULT_IGNORE_LIST) Makefile.am
|
||||
@[ -d lib ] || mkdir lib # required in vpath mode
|
||||
@( $(edit) < $<; cat $(DEFAULT_IGNORE_LIST) ) > $@
|
||||
@echo "Generated $@ from $< and $(DEFAULT_IGNORE_LIST)"
|
||||
|
|
Loading…
Reference in a new issue