Skip to content

Commit

Permalink
check-maintainer-clean: print skipping message for in-source-tree builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kwwette committed May 29, 2014
1 parent b71eb53 commit eb61c85
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile.in
Expand Up @@ -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"

#####################################################################
Expand Down

0 comments on commit eb61c85

Please sign in to comment.