diff options
author | Adam Spiers <stow@adamspiers.org> | 2015-11-09 12:37:09 +0000 |
---|---|---|
committer | Adam Spiers <stow@adamspiers.org> | 2015-11-09 12:38:39 +0000 |
commit | b5dbc3b7b4f71a38c927a83cfe598e05190929bd (patch) | |
tree | 110855af29eb07fcb76fbcd270cd1c4c994701c9 | |
parent | c482b0291dffa9cd5c43c5d8d840d9e5cb182c18 (diff) | |
download | stow-b5dbc3b7b4f71a38c927a83cfe598e05190929bd.tar.gz |
More fixes to "make distcheck"v2.2.2
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.
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 3303a6a..7a1a808 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)" |