The meltgendoc.texi target runs GCC and might return a value of 1 which confuses make while the texi file was correctly generated ; thus, adding '|| true' allows for the build to continue instead of stopping. --- gcc/ChangeLog.MELT | 4 ++++ gcc/melt-build.tpl | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/gcc/ChangeLog.MELT b/gcc/ChangeLog.MELT index f32e960..c801737 100644 --- a/gcc/ChangeLog.MELT +++ b/gcc/ChangeLog.MELT @@ -1,4 +1,8 @@ 2011-08-25 Alexandre Lissy <ali...@mandriva.com> + * gcc/melt-build.tpl: Allow build to "fail" ; meltgentdoc.texi target + might return 1 while the generation was successful + +2011-08-25 Alexandre Lissy <ali...@mandriva.com> * gcc/melt/melt-build.tpl: Fix meltgendoc.texi target (missing .texi extension for generated file) diff --git a/gcc/melt-build.tpl b/gcc/melt-build.tpl index 87f920b..afbee1f 100644 --- a/gcc/melt-build.tpl +++ b/gcc/melt-build.tpl @@ -617,7 +617,7 @@ meltgendoc.texi: $(melt_default_modules_list).modlis \ empty-file-for-melt.c > $(notdir $(basename $@)).args-tmp mv $(notdir $(basename $@)).args-tmp $(notdir $(basename $@)).args @echo -n $(notdir $(basename $@)).args: ; cat $(notdir $(basename $@)).args ; echo "***** doing " $@ - $(melt_make_cc1) @$(notdir $(basename $@)).args + $(melt_make_cc1) @$(notdir $(basename $@)).args || true vpath %.so $(melt_make_module_dir) .