aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-02-24 22:37:52 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2008-02-24 22:37:52 +0000
commit9538dfb92f936aef071c1b6f525863119e693968 (patch)
tree3a7a05d6c0cc1b2aebbdb74289afbcd2eaf235c7 /gcc/ada
parent835aac92313572fc449567e04e0202a7b05bfff4 (diff)
downloadgcc-9538dfb92f936aef071c1b6f525863119e693968.zip
gcc-9538dfb92f936aef071c1b6f525863119e693968.tar.gz
gcc-9538dfb92f936aef071c1b6f525863119e693968.tar.bz2
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
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog6
-rw-r--r--gcc/ada/gnat_ugn.texi4
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index fc40a95..482fcd1 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ 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 <Ralf.Wildenhues@gmx.de>
PR documentation/15479
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 504bc33..aa92875 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