check-maintainer-clean: print skipping message for in-source-tree builds
This commit is contained in:
parent
b71eb53bae
commit
eb61c85e5f
1 changed files with 6 additions and 4 deletions
10
Makefile.in
10
Makefile.in
|
|
@ -456,11 +456,13 @@ maintainer-clean:
|
|||
@$(MAKE) $(FLAGS) distclean-helper
|
||||
|
||||
check-maintainer-clean: maintainer-clean
|
||||
@if test "x$(srcdir)" != "x."; then \
|
||||
for file in `find . -type f`; do \
|
||||
echo "file missed by maintainer-clean: $$file"; \
|
||||
done; \
|
||||
@if test "x$(srcdir)" = "x."; then \
|
||||
echo "skipping maintainer-clean check (in-source-tree build)"; \
|
||||
exit 0; \
|
||||
fi; \
|
||||
for file in `find . -type f`; do \
|
||||
echo "file missed by maintainer-clean: $$file"; \
|
||||
done; \
|
||||
test "x$$file" = x && echo "all files cleaned by maintainer-clean"
|
||||
|
||||
#####################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue