From 06fe80e281258542a829fc79aed108a86205ba55 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 24 Aug 2002 01:38:11 +0000 Subject: [PATCH] * lib/am/progs.am: Exit in case of install failure, otherwise it is ignored on Cygwin because of the surrounding "for" loop. --- ChangeLog | 5 +++++ lib/am/progs.am | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 81549fb2..a143de51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-08-23 Pavel Roskin + + * lib/am/progs.am: Exit in case of install failure, otherwise + it is ignored on Cygwin because of the surrounding "for" loop. + 2002-08-23 Alexandre Duret-Lutz * automake.texi (Top level): More words about conditional diff --git a/lib/am/progs.am b/lib/am/progs.am index 9afe0dea..07152837 100644 --- a/lib/am/progs.am +++ b/lib/am/progs.am @@ -52,9 +52,9 @@ install-%DIR%PROGRAMS: $(%DIR%_PROGRAMS) ## lossage if the install program doesn't have a name that libtool ## expects. ?LIBTOOL? echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(%DIR%PROGRAMS_INSTALL) $$p $(DESTDIR)$(%NDIR%dir)/$$f"; \ -?LIBTOOL? $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(%DIR%PROGRAMS_INSTALL) $$p $(DESTDIR)$(%NDIR%dir)/$$f; \ +?LIBTOOL? $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(%DIR%PROGRAMS_INSTALL) $$p $(DESTDIR)$(%NDIR%dir)/$$f || exit 1; \ ?!LIBTOOL? echo " $(INSTALL_PROGRAM_ENV) $(%DIR%PROGRAMS_INSTALL) $$p $(DESTDIR)$(%NDIR%dir)/$$f"; \ -?!LIBTOOL? $(INSTALL_PROGRAM_ENV) $(%DIR%PROGRAMS_INSTALL) $$p $(DESTDIR)$(%NDIR%dir)/$$f; \ +?!LIBTOOL? $(INSTALL_PROGRAM_ENV) $(%DIR%PROGRAMS_INSTALL) $$p $(DESTDIR)$(%NDIR%dir)/$$f || exit 1; \ else :; fi; \ done endif %?INSTALL% -- 2.43.5