Modified patch from Torsten Landschoff for fixing make distclean when the target languages that have no examples are detected - the default target was erroneously being run for clean and check of the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9b09784715
commit
1c8618d635
2 changed files with 7 additions and 1 deletions
|
|
@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
|
|||
Version 2.0.1 (in progress)
|
||||
===========================
|
||||
|
||||
2010-08-17: wsfulton
|
||||
Fix make distclean when some of the more obscure languages are detected by
|
||||
configure - fixes from Torsten Landschoff.
|
||||
|
||||
2010-07-28: wsfulton
|
||||
Restore configuring out of source for the test-suite since it broke in 1.3.37.
|
||||
As previously, if running 'make check-test-suite' out of source, it needs to be
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ clisp_examples :=
|
|||
uffi_examples :=
|
||||
cffi_examples :=
|
||||
r_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/r/check.list)
|
||||
go_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/go/check.list)
|
||||
go_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/go/check.list)
|
||||
|
||||
# all examples
|
||||
check-%-examples :
|
||||
|
|
@ -170,6 +170,8 @@ check-%-examples :
|
|||
fi
|
||||
@if $(skip-$*); then \
|
||||
echo skipping $* $(ACTION); \
|
||||
elif test -z "$($(strip $*_examples))"; then \
|
||||
echo empty $* $(ACTION); \
|
||||
else \
|
||||
$(MAKE) -k -s $($*_examples:=.actionexample) LANGUAGE=$* ACTION=$(ACTION); \
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue