This patch correct a bug in the current revision of MELT, which was preventing MELT to run correctly.

This was a path problem in gcc/Makefile.in (melt-modules/ and melt-modules.mk) were not found.

My contributor number is 634276.

changelog :


2011-05-17  Pierre Vittet  <pier...@pvittet.com>

        * Makefile.in : Correct path errors for melt_module_dir and for
        install-melt-mk target




Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in     (revision 173832)
+++ gcc/Makefile.in     (working copy)
@@ -5352,7 +5352,7 @@ melt_default_modules_list=melt-default-modules
 melt_source_dir=$(libexecsubdir)/melt-source/
 
 ## this is the installation directory of melt dynamic modules (*.so)
-melt_module_dir=$(libexecsubdir)/melt-module/
+melt_module_dir=$(libexecsubdir)/melt-modules/
 
 ## this is the installed path of the MELT module makefile
 melt_installed_module_makefile=$(libexecsubdir)/melt-module.mk
@@ -5416,8 +5416,8 @@ install-melt-modules: melt-modules melt-all-module
 
 ## install the makefile for MELT modules
 install-melt-mk: melt-module.mk
-       $(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
-       $(INSTALL_DATA) $< $(DESTDIR)/$(plugin_includedir)/
+       $(mkinstalldirs) $(DESTDIR)$(libexecsubdir)
+       $(INSTALL_DATA) $< $(DESTDIR)/$(libexecsubdir)/
 
 ## install the default modules list
 install-melt-default-modules-list: $(melt_default_modules_list).modlis 

Reply via email to