diff options
author | Karl Wette <karl.wette@ligo.org> | 2014-05-28 21:18:41 +0200 |
---|---|---|
committer | Karl Wette <karl.wette@ligo.org> | 2014-05-29 02:29:27 +0200 |
commit | b51bc39cf7ad2eb9c037f735a2839283c19d1f03 (patch) | |
tree | 002d058b55c690e335689dddeb1bdc873f163652 /Makefile.in | |
parent | 3fe1eb705617c621f8f99d2f657cfe72a1049cce (diff) | |
download | swig-b51bc39cf7ad2eb9c037f735a2839283c19d1f03.tar.gz |
Add check-maintainer-clean target: fails if files are missed by maintainer-clean
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 2b9cf3b32..05c506559 100644 --- a/Makefile.in +++ b/Makefile.in @@ -455,6 +455,14 @@ maintainer-clean: @echo distcleaning @$(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; \ + fi; \ + test "x$$file" = x && echo "all files cleaned by maintainer-clean" + ##################################################################### # Update the Lib/swigwarn.swg file # Note: Generated into the source tree rather than build tree |