mirror of https://github.com/swig/swig
Add check-maintainer-clean target: fails if files are missed by maintainer-clean
This commit is contained in:
parent
3fe1eb7056
commit
b51bc39cf7
|
@ -113,7 +113,7 @@ script:
|
||||||
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-examples CFLAGS="${CFLAGS_EXAMPLES[$SWIGLANG]}" CXXFLAGS="${CXXFLAGS_EXAMPLES[$SWIGLANG]}"; fi
|
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-examples CFLAGS="${CFLAGS_EXAMPLES[$SWIGLANG]}" CXXFLAGS="${CXXFLAGS_EXAMPLES[$SWIGLANG]}"; fi
|
||||||
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-test-suite; fi
|
- if test -n "$SWIGLANG"; then make -k $SWIGJOBS check-$SWIGLANG-test-suite; fi
|
||||||
- echo 'Cleaning...' && echo -en 'travis_fold:start:script.3\\r'
|
- echo 'Cleaning...' && echo -en 'travis_fold:start:script.3\\r'
|
||||||
- make maintainer-clean && find . -type f | sed 's/^/File left after maintainer-clean - /' && ../../configure $CONFIGOPTS
|
- make check-maintainer-clean && ../../configure $CONFIGOPTS
|
||||||
- echo -en 'travis_fold:end:script.3\\r'
|
- echo -en 'travis_fold:end:script.3\\r'
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
|
|
@ -455,6 +455,14 @@ maintainer-clean:
|
||||||
@echo distcleaning
|
@echo distcleaning
|
||||||
@$(MAKE) $(FLAGS) distclean-helper
|
@$(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
|
# Update the Lib/swigwarn.swg file
|
||||||
# Note: Generated into the source tree rather than build tree
|
# Note: Generated into the source tree rather than build tree
|
||||||
|
|
Loading…
Reference in New Issue