Hi!

The attached patch changes the rule that describes the actions for
gramLatex.c in src/library/tools/src/Makefile.in so it actually
generates that file instead of "gramLatex." (no extension). The
file name without extension is not referenced anywhere else and
in R-2.12 the same rule still used the full name, so it appears
that the "c" was lost in editing somewhere along the way.

The patch was generated for R-3.0.1, but also applies cleanly to
R-devel_2013-05-14.

-ik
diff --git a/src/library/tools/src/Makefile.in b/src/library/tools/src/Makefile.in
index 76d5919..63bee32 100644
--- a/src/library/tools/src/Makefile.in
+++ b/src/library/tools/src/Makefile.in
@@ -64,6 +64,6 @@ $(srcdir)/gramRd.c: @MAINTAINER_MODE_TRUE@ $(srcdir)/gramRd.y
 $(srcdir)/gramLatex.c: @MAINTAINER_MODE_TRUE@ $(srcdir)/gramLatex.y
 	@$(ECHO) "re-making gramLatex.c"
 	$(YACC) $(YFLAGS) $(srcdir)/gramLatex.y
-	$(SHELL) $(top_srcdir)/tools/move-if-change y.tab.c $(srcdir)/gramLatex.
+	$(SHELL) $(top_srcdir)/tools/move-if-change y.tab.c $(srcdir)/gramLatex.c
 
 ## Automagically generated dependencies:
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to