3 # This file helps maintainers to keep their Makefile.am automatically
4 # up to date using GNU make features.
5 # If you don't have (or run) GNU make, Makefile.am will not be updated
6 # automatically when source files are added/removed.
8 # automake/wild-make should generate this file from Makefile.am.wild
11 Makefile=$(wildcard Makefile)
12 # are we configured here, or are we using --srcdir
13 ifeq ($(Makefile),Makefile)
24 make-in-build: wild-check
25 exec $(MAKE) -C $(biltdir)
28 include $(biltdir)/Makefile
32 # Makefile.am.wild: TEST_SCRIPTS = $(wildcard *.sh)
33 CURRENT_TEST_SCRIPTS = $(wildcard *.sh)
35 wild-check: check-test-scripts
38 ifneq ($(TEST_SCRIPTS),$(CURRENT_TEST_SCRIPTS))
39 @echo \"$(TEST_SCRIPTS)\"
40 @echo \"$(CURRENT_TEST_SCRIPTS)\"
41 @echo TEST_SCRIPTS changed: rerunning make-wild.
43 $(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am