$NetBSD: patch-ai,v 1.2 2010/04/17 17:11:05 kefren Exp $ --- src/addins/MonoDevelop.Autotools/SimpleProjectMakefileHandler.cs.orig 2010-04-16 13:33:31.000000000 +0300 +++ src/addins/MonoDevelop.Autotools/SimpleProjectMakefileHandler.cs 2010-04-16 13:34:22.000000000 +0300 @@ -210,15 +210,15 @@ namespace MonoDevelop.Autotools //FIXME:temp programFilesDir = TranslateDir (programFilesDir); installDirs.Add (programFilesDir); - installTarget.Append ("\tmake pre-install-local-hook prefix=$(prefix)\n"); - installTarget.Append ("\tmake install-satellite-assemblies prefix=$(prefix)\n"); + installTarget.Append ("\tMAKEPROGRAM pre-install-local-hook prefix=$(prefix)\n"); + installTarget.Append ("\tMAKEPROGRAM install-satellite-assemblies prefix=$(prefix)\n"); installTarget.AppendFormat ("\tmkdir -p '$(DESTDIR){0}'\n", programFilesDir); installTarget.AppendFormat ("\t$(call cp,$(ASSEMBLY),$(DESTDIR){0})\n", programFilesDir); installTarget.AppendFormat ("\t$(call cp,$(ASSEMBLY_MDB),$(DESTDIR){0})\n", programFilesDir); //remove dir? - uninstallTarget.Append ("\tmake pre-uninstall-local-hook prefix=$(prefix)\n"); - uninstallTarget.Append ("\tmake uninstall-satellite-assemblies prefix=$(prefix)\n"); + uninstallTarget.Append ("\tMAKEPROGRAM pre-uninstall-local-hook prefix=$(prefix)\n"); + uninstallTarget.Append ("\tMAKEPROGRAM uninstall-satellite-assemblies prefix=$(prefix)\n"); uninstallTarget.AppendFormat ("\t$(call rm,$(ASSEMBLY),$(DESTDIR){0})\n", programFilesDir); uninstallTarget.AppendFormat ("\t$(call rm,$(ASSEMBLY_MDB),$(DESTDIR){0})\n", programFilesDir); @@ -444,10 +444,10 @@ endif", s.SwitchName.Replace ('-', '_'). if (!generateAutotools) { installTarget.Insert (0, String.Format ("install-local:{0}\n", installDeps.ToString ())); - installTarget.Append ("\tmake post-install-local-hook prefix=$(prefix)\n"); + installTarget.Append ("\tMAKEPROGRAM post-install-local-hook prefix=$(prefix)\n"); uninstallTarget.Insert (0, String.Format ("uninstall-local:{0}\n", installDeps.ToString ())); - uninstallTarget.Append ("\tmake post-uninstall-local-hook prefix=$(prefix)\n"); + uninstallTarget.Append ("\tMAKEPROGRAM post-uninstall-local-hook prefix=$(prefix)\n"); } if (!generateAutotools && customCommands.Length > 0)