From 9538dfb92f936aef071c1b6f525863119e693968 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 24 Feb 2008 22:37:52 +0000 Subject: [PATCH] re PR ada/15479 (Ada manual problems) PR documentation/15479 * gnat_ugn.texi (Using gnatmake in a Makefile): Do not ignore errors in Makefile rules, by using `&&' rather than `;'. From-SVN: r132601 --- gcc/ada/ChangeLog | 6 ++++++ gcc/ada/gnat_ugn.texi | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index fc40a9518fd..482fcd11e77 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2008-02-24 Ralf Wildenhues + + PR documentation/15479 + * gnat_ugn.texi (Using gnatmake in a Makefile): Do not ignore errors + in Makefile rules, by using `&&' rather than `;'. + 2008-02-17 Ralf Wildenhues PR documentation/15479 diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index 504bc33163b..aa92875ff62 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -18737,8 +18737,8 @@ objects:: # by a new tool, gnatmlib $@{LIB_DIR@}: mkdir -p $@{dir $@@ @} - cd $@{dir $@@ @}; gcc -shared -o $@{notdir $@@ @} ../*.o -L$@{GLIB@} -lgnat - cd $@{dir $@@ @}; cp -f ../*.ali . + cd $@{dir $@@ @} && gcc -shared -o $@{notdir $@@ @} ../*.o -L$@{GLIB@} -lgnat + cd $@{dir $@@ @} && cp -f ../*.ali . # The dependencies for the modules # Note that we have to force the expansion of *.o, since in some cases