$NetBSD: patch-ah,v 1.2 2010/04/17 17:11:05 kefren Exp $ --- src/addins/MonoDevelop.Autotools/templates/rules.make.orig 2010-04-16 13:19:36.000000000 +0300 +++ src/addins/MonoDevelop.Autotools/templates/rules.make 2010-04-16 13:20:02.000000000 +0300 @@ -1,9 +1,9 @@ clean-local: - make pre-clean-local-hook - make $(CONFIG)_BeforeClean + MAKEPROGRAM pre-clean-local-hook + MAKEPROGRAM $(CONFIG)_BeforeClean -rm -f $(call quote_each,$(CLEANFILES)) - make $(CONFIG)_AfterClean - make post-clean-local-hook + MAKEPROGRAM $(CONFIG)_AfterClean + MAKEPROGRAM post-clean-local-hook install-local: uninstall-local: @@ -12,21 +12,21 @@ quote_each = $(foreach f,$(call s2q,$1),$(call q2quote,$f)) dist-local: - make pre-dist-local-hook "distdir=$$distdir" + MAKEPROGRAM pre-dist-local-hook "distdir=$$distdir" for f in Makefile $(call quote_each,$(EXTRA_DIST)); do \ d=`dirname "$$f"`; \ test -d "$(distdir)/$$d" || \ mkdir -p "$(distdir)/$$d"; \ cp -p "$$f" "$(distdir)/$$d" || exit 1; \ done - make post-dist-local-hook "distdir=$$distdir" + MAKEPROGRAM post-dist-local-hook "distdir=$$distdir" dist-local-recursive: for dir in $(call quote_each,$(SUBDIRS)); do \ mkdir -p "$(distdir)/$$dir" || true; \ case "$$dir" in \ - .) make dist-local "distdir=$(distdir)" || exit 1;; \ - *) (cd "$$dir"; make dist-local "distdir=$(distdir)/$$dir") || exit 1; \ + .) MAKEPROGRAM dist-local "distdir=$(distdir)" || exit 1;; \ + *) (cd "$$dir"; MAKEPROGRAM dist-local "distdir=$(distdir)/$$dir") || exit 1; \ esac \ done