summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorKarl Wette <karl.wette@ligo.org>2014-04-25 17:01:14 +0200
committerKarl Wette <karl.wette@ligo.org>2014-05-11 21:31:32 +0200
commit96153c7c0a9200f39d0dc66ffbea2426cd2a4d95 (patch)
tree42ce269a62eb9f0dca574fb1b2c88c9559b31a3e /Makefile.in
parent6fc07c5dc9a05669174b2c03881619bcb492ec5b (diff)
downloadswig-96153c7c0a9200f39d0dc66ffbea2426cd2a4d95.tar.gz
Regenerate configured Makefile if Makefile.in or config.status have changed
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 06e4724c7..53ac47de5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -243,11 +243,13 @@ check-%-examples :
# individual example
%.actionexample:
+ @cd Examples && $(MAKE) Makefile
@echo $(ACTION)ing Examples/$(LANGUAGE)/$*
@(cd Examples/$(LANGUAGE)/$* && $(MAKE) $(FLAGS) $(chk-set-env) $(ACTION) RUNPIPE=$(RUNPIPE))
# gcj individual example
java.actionexample:
+ @cd Examples && $(MAKE) Makefile
@if $(skip-gcj); then \
echo "skipping Examples/$(LANGUAGE)/java $(ACTION) (gcj test)"; \
else \
@@ -283,6 +285,9 @@ check-test-suite: \
check-javascript-test-suite
check-%-test-suite:
+ @if test -d Examples/test-suite/$*; then \
+ cd Examples/test-suite/$* && $(MAKE) Makefile; \
+ fi
@if test -z "$(skip-$*)"; then \
echo $* unknown; \
exit 1; \