summaryrefslogtreecommitdiff
path: root/lib/am/lisp.am
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-09-07 08:42:47 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-09-07 08:42:47 +0200
commit120031b8d5f75fd631b96396d2e69fe920455098 (patch)
treea823ea827f615b02908f223b226774858ed38591 /lib/am/lisp.am
parent196abe9a7bcfe78d06b6fa88fe5100d607d3aef1 (diff)
downloadautomake-120031b8d5f75fd631b96396d2e69fe920455098.tar.gz
Fail upon install or ranlib failure, part two.
* lib/am/java.am (install-%DIR%JAVA): Fail upon install failure. * lib/am/lisp.am (install-%DIR%LISP): Likewise. * lib/am/ltlib.am (install-%DIR%LTLIBRARIES): Likewise. * lib/am/libs.am (install-%DIR%LIBRARIES): Likewise, for `install' as well as `ranlib'. * lib/am/progs.am (install-%DIR%PROGRAMS): If `install' fails, return its exit failure, not 1. * tests/instfail.test: New test, for PROGRAMS (without libtool), LIBRARIES, including nobase variants. * tests/instfail-info.test: Likewise, for TEXINFOS. * tests/instfail-java.test: Likewise, for JAVA. * tests/instfail-libtool.test: Likewise, for PROGRAMS (with libtool) and LTLIBRARIES. * tests/Makefile.am: Adjust. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'lib/am/lisp.am')
-rw-r--r--lib/am/lisp.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/am/lisp.am b/lib/am/lisp.am
index cdc086107..a7759d782 100644
--- a/lib/am/lisp.am
+++ b/lib/am/lisp.am
@@ -1,6 +1,6 @@
## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
-## Free Software Foundation, Inc.
+## Copyright (C) 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
+## 2007, 2008 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -95,11 +95,11 @@ install-%DIR%LISP: $(%DIR%_LISP) $(ELCFILES)
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
%BASE?$(am__strip_dir):$(am__vpath_adj)% \
echo " $(%DIR%LISP_INSTALL) '$$d$$p' '$(DESTDIR)$(%NDIR%dir)/$$f'"; \
- $(%DIR%LISP_INSTALL) "$$d$$p" "$(DESTDIR)$(%NDIR%dir)/$$f"; \
+ $(%DIR%LISP_INSTALL) "$$d$$p" "$(DESTDIR)$(%NDIR%dir)/$$f" || exit $$?; \
## Only install .elc file if it exists.
if test -f $${p}c; then \
echo " $(%DIR%LISP_INSTALL) '$${p}c' '$(DESTDIR)$(%NDIR%dir)/$${f}c'"; \
- $(%DIR%LISP_INSTALL) "$${p}c" "$(DESTDIR)$(%NDIR%dir)/$${f}c"; \
+ $(%DIR%LISP_INSTALL) "$${p}c" "$(DESTDIR)$(%NDIR%dir)/$${f}c" || exit $$?; \
else : ; fi; \
done; \
else : ; fi