Patchwork [MELT] Fix meltgendoc.texi target

login
register
mail settings
Submitter Alexandre Lissy
Date Aug. 25, 2011, 10:15 a.m.
Message ID <1314267323-22083-2-git-send-email-alissy@mandriva.com>
Download mbox | patch
Permalink /patch/111546/
State New
Headers show

Comments

Alexandre Lissy - Aug. 25, 2011, 10:15 a.m.
A previous commit has introduced a change for melt output argument in
meltgendoc.texi target: going from $@ ti $(basename $@). This is bad
since we are loosing the extension of the filename, hence the build
process is stopped because of missing meltgendoc.texi file.
---
 gcc/ChangeLog.MELT |    4 ++++
 gcc/melt-build.tpl |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

Patch

diff --git a/gcc/ChangeLog.MELT b/gcc/ChangeLog.MELT
index a341a49..f32e960 100644
--- a/gcc/ChangeLog.MELT
+++ b/gcc/ChangeLog.MELT
@@ -1,4 +1,8 @@ 
 2011-08-25  Alexandre Lissy  <alissy@mandriva.com>
+	* gcc/melt/melt-build.tpl: Fix meltgendoc.texi target (missing .texi
+	extension for generated file)
+
+2011-08-25  Alexandre Lissy  <alissy@mandriva.com>
 	* gcc/melt/melt-build.tpl: Use -quicklybuilt instead of -static for
 	consistency with the whole build system
 	* contrib/MELT-Plugin-Makefile: Using -quicklybuilt instead of
diff --git a/gcc/melt-build.tpl b/gcc/melt-build.tpl
index e3e8282..87f920b 100644
--- a/gcc/melt-build.tpl
+++ b/gcc/melt-build.tpl
@@ -611,7 +611,7 @@  meltgendoc.texi: $(melt_default_modules_list).modlis \
 	      $(meltarg_init)=@$(melt_default_modules_list) \
 	      $(meltarg_module_path)=$(realpath melt-modules):. \
 	      $(meltarg_source_path)=$(realpath melt-sources):. \
-	      $(meltarg_output)=$(basename $@)  \
+	      $(meltarg_output)=$(basename $@).texi  \
               $(meltarg_arglist)=[+FOR melt_translator_file+][+base+].melt,[+ENDFOR melt_translator_file+]\
 [+FOR melt_application_file "," +][+base+].melt[+ENDFOR melt_application_file+] \
               empty-file-for-melt.c > $(notdir $(basename $@)).args-tmp