Makefile fix for new versions of Make (thanks Clark for noticing this); see e.g....
authorMorgan Deters <mdeters@gmail.com>
Mon, 26 Nov 2012 13:42:27 +0000 (13:42 +0000)
committerMorgan Deters <mdeters@gmail.com>
Mon, 26 Nov 2012 13:42:27 +0000 (13:42 +0000)
Makefile.builds.in

index f97bf56b80438bc1914cf14e39efd534de8b0b21..6f9c7aaabef0c0c45a434f249112b509dffdbdd7 100644 (file)
@@ -222,6 +222,9 @@ doc-internals-builds: doc-prereq
 doc-prereq:
        +(cd $(CURRENT_BUILD) && for dir in `find . -name Makefile | xargs grep -l BUILT_SOURCES`; do (cd `dirname "$$dir"`; (cat Makefile; echo 'doc-prereq: $$(BUILT_SOURCES)') | $(MAKE) -f- doc-prereq); done)
 
-# any other target than the default doesn't do the extra stuff above
-examples %:
+# Any other target than the default doesn't do the extra stuff above.
+# Split out "examples" target, recent Makes don't want them combined.
+examples:
+       +(cd $(CURRENT_BUILD) && $(MAKE) $@)
+%:
        +(cd $(CURRENT_BUILD) && $(MAKE) $@)