-check-lilypond-sources:
-ifneq ($(lilypond_SOURCES),$(filter-out $(IGNORE_WILDCARDS), $(CURRENT_lilypond_SOURCES)))
- @echo \"$(lilypond_SOURCES)\"
- @echo \"$(CURRENT_lilypond_SOURCES)\"
- @echo lilypond_SOURCES changed: rerunning make-wild.
- @-rm -f Makefile.am
- $(PERL) $(top_srcdir)/bin/wild-perl < Makefile.am.wild > Makefile.am
+# ugh. For --srcdir builds, these must exist to satisfy their broken
+# lexer.dep and parser.dep file entries.
+ifneq ($(srcdir), .)
+.PRECIOUS: $(outdir)/lexer.cc $(outdir)/parser.cc