summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-09 12:13:49 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-09 12:13:49 (EDT)
commit437a672d718a2a7a238f41f623ff6f656f2b1df1 (patch)
treed63f7fa9c0491f7fe0972930c5c32ea13ced694c
parentabdf1757e884c32fb21863111dc87749ebe6eb65 (diff)
Makefile.in: Add `set -e` to long commands.
-rw-r--r--Makefile.in30
1 files changed, 15 insertions, 15 deletions
diff --git a/Makefile.in b/Makefile.in
index 8043c08..94f90cb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -126,28 +126,28 @@ all-locale: $(locale)
clean: clean-exec clean-data
clean-exec: clean-bin clean-pkglib clean-pkglibbuildsystem
clean-bin:
- @for f in $(bin); do \
+ @set -e; for f in $(bin); do \
printf ' RM %s\n' "$${f}"; \
rm -f "$${f}"; \
done
clean-pkglib:
- @for f in $(pkglib); do \
+ @set -e; for f in $(pkglib); do \
printf ' RM %s\n' "$${f}"; \
rm -f "$${f}"; \
done
clean-pkglibbuildsystem:
- @for f in $(pkglibbuildsystem); do \
+ @set -e; for f in $(pkglibbuildsystem); do \
printf ' RM %s\n' "$${f}"; \
rm -f "$${f}"; \
done
clean-data: clean-man1 clean-locale
clean-man1:
- @for f in $(man1); do \
+ @set -e; for f in $(man1); do \
printf ' RM %s\n' "$${f}"; \
rm -f "$${f}"; \
done
clean-locale:
- @for f in $(locale); do \
+ @set -e; for f in $(locale); do \
printf ' RM %s\n' "$${f}"; \
rm -f "$${f}"; \
done
@@ -156,7 +156,7 @@ install: all install-exec install-data
install-exec: install-bin install-pkglib install-pkglibbuildsystem
install-bin:
@mkdir -p '$(DESTDIR)/$(bindir)'
- @for f in $(bin); do \
+ @set -e; for f in $(bin); do \
printf ' INSTALL %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
cp "$${f}" "$(DESTDIR)/$(bindir)/$${ff}"; \
@@ -164,7 +164,7 @@ install-bin:
done
install-pkglib:
@mkdir -p '$(DESTDIR)/$(pkglibdir)'
- @for f in $(pkglib); do \
+ @set -e; for f in $(pkglib); do \
printf ' INSTALL %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
cp "$${f}" "$(DESTDIR)/$(pkglibdir)/$${ff}"; \
@@ -172,7 +172,7 @@ install-pkglib:
done
install-pkglibbuildsystem:
@mkdir -p '$(DESTDIR)/$(pkglibbuildsystemdir)'
- @for f in $(pkglibbuildsystem); do \
+ @set -e; for f in $(pkglibbuildsystem); do \
printf ' INSTALL %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
cp "$${f}" "$(DESTDIR)/$(pkglibbuildsystemdir)/$${ff}"; \
@@ -181,7 +181,7 @@ install-pkglibbuildsystem:
install-data: install-man1 install-locale
install-man1:
@mkdir -p '$(DESTDIR)/$(man1dir)'
- @for f in $(man1); do \
+ @set -e; for f in $(man1); do \
printf ' INSTALL %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
cp "$${f}" "$(DESTDIR)/$(man1dir)/$${ff}"; \
@@ -189,7 +189,7 @@ install-man1:
done
install-locale:
@mkdir -p '$(DESTDIR)/$(localedir)'
- @for f in $(locale); do \
+ @set -e; for f in $(locale); do \
printf ' INSTALL %s\n' "$${f}"; \
ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
[ "x$${ff%/?*}" != "x$${ff}" ] && \
@@ -201,20 +201,20 @@ install-locale:
uninstall: uninstall-exec uninstall-data
uninstall-exec: uninstall-bin uninstall-pkglibbuildsystem uninstall-pkglib
uninstall-bin:
- @for f in $(bin); do \
+ @set -e; for f in $(bin); do \
printf ' RM %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
rm -f "$(DESTDIR)/$(bindir)/$${ff}"; \
done
uninstall-pkglib:
- @for f in $(pkglib); do \
+ @set -e; for f in $(pkglib); do \
printf ' RM %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
rm -f "$(DESTDIR)/$(pkglibdir)/$${ff}"; \
done
@rmdir '$(DESTDIR)/$(pkglibdir)'
uninstall-pkglibbuildsystem:
- @for f in $(pkglibbuildsystem); do \
+ @set -e; for f in $(pkglibbuildsystem); do \
printf ' RM %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
rm -f "$(DESTDIR)/$(pkglibbuildsystemdir)/$${ff}"; \
@@ -222,13 +222,13 @@ uninstall-pkglibbuildsystem:
@rmdir '$(DESTDIR)/$(pkglibbuildsystemdir)'
uninstall-data: uninstall-man1 uninstall-locale
uninstall-man1:
- @for f in $(man1); do \
+ @set -e; for f in $(man1); do \
printf ' RM %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
rm -f "$(DESTDIR)/$(man1dir)/$${ff}"; \
done
uninstall-locale:
- @for f in $(locale); do \
+ @set -e; for f in $(locale); do \
printf ' RM %s\n' "$${f}"; \
ff="$$(printf '%s' "$${f}" | sed 's|^[^/]*/||')"; \
rm -f "$(DESTDIR)/$(localedir)/$${ff}"; \