$FreeBSD$ --- PyBinding/Makefile.orig +++ PyBinding/Makefile @@ -157,30 +157,30 @@ $(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list) - make pre-all-local-hook prefix=$(prefix) + $(MAKE) pre-all-local-hook prefix=$(prefix) mkdir -p $(shell dirname $(ASSEMBLY)) - make $(CONFIG)_BeforeBuild + $(MAKE) $(CONFIG)_BeforeBuild $(LOCAL_PKGCONFIG) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref) - make $(CONFIG)_AfterBuild - make post-all-local-hook prefix=$(prefix) + $(MAKE) $(CONFIG)_AfterBuild + $(MAKE) post-all-local-hook prefix=$(prefix) install-local: $(ASSEMBLY) $(ASSEMBLY_MDB) - make pre-install-local-hook prefix=$(prefix) + $(MAKE) pre-install-local-hook prefix=$(prefix) mkdir -p $(INSTALL_DIR) $(call cp,$(ASSEMBLY),$(INSTALL_DIR)) $(call cp,$(ASSEMBLY_MDB),$(INSTALL_DIR)) mkdir -p '$(DESTDIR)$(libdir)/pkgconfig' $(call cp,$(PYBINDING_PC),$(DESTDIR)$(libdir)/pkgconfig) $(call cp,$(PYBINDING_DLL_MDB),$(INSTALL_DIR)) - make post-install-local-hook prefix=$(prefix) + $(MAKE) post-install-local-hook prefix=$(prefix) uninstall-local: $(ASSEMBLY) $(ASSEMBLY_MDB) - make pre-uninstall-local-hook prefix=$(prefix) + $(MAKE) pre-uninstall-local-hook prefix=$(prefix) $(call rm,$(ASSEMBLY),$(INSTALL_DIR)) $(call rm,$(ASSEMBLY_MDB),$(INSTALL_DIR)) $(call rm,$(PYBINDING_PC),$(DESTDIR)$(libdir)/pkgconfig) $(call rm,$(PYBINDING_DLL_MDB),$(INSTALL_DIR)) - make post-uninstall-local-hook prefix=$(prefix) + $(MAKE) post-uninstall-local-hook prefix=$(prefix) install: install-local uninstall: uninstall-local