Commit 5519212a authored by Ondřej Surý's avatar Ondřej Surý

Merge branch 'fail-on-failed-install-v9_12-v9_11' into 'v9_11'

Fail on failed install inside for loops

See merge request !754
parents a94ae94f 302cae89
Pipeline #4610 passed with stages
in 7 minutes and 14 seconds
......@@ -87,12 +87,12 @@ install:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@ installdirs
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkconf@EXEEXT@ ${DESTDIR}${sbindir}
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} named-checkzone@EXEEXT@ ${DESTDIR}${sbindir}
(cd ${DESTDIR}${sbindir}; rm -f named-compilezone@EXEEXT@; ${LINK_PROGRAM} named-checkzone@EXEEXT@ named-compilezone@EXEEXT@)
for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8 || exit 1; done
(cd ${DESTDIR}${mandir}/man8; rm -f named-compilezone.8; ${LINK_PROGRAM} named-checkzone.8 named-compilezone.8)
uninstall::
rm -f ${DESTDIR}${mandir}/man8/named-compilezone.8
for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done
for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m || exit 1; done
rm -f ${DESTDIR}${sbindir}/named-compilezone@EXEEXT@
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkconf@EXEEXT@
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkzone@EXEEXT@
......
......@@ -99,12 +99,12 @@ install:: dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@ installdirs
${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} \
nslookup@EXEEXT@ ${DESTDIR}${bindir}
for m in ${MANPAGES}; do \
${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1; \
done
${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1 || exit 1; \
done
uninstall::
for m in ${MANPAGES}; do \
rm -f ${DESTDIR}${mandir}/man1/$$m ; \
rm -f ${DESTDIR}${mandir}/man1/$$m || exit 1; \
done
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/nslookup@EXEEXT@
${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/host@EXEEXT@
......
......@@ -111,12 +111,12 @@ installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
install:: ${TARGETS} installdirs
for t in ${TARGETS}; do ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir}; done
for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
for t in ${TARGETS}; do ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir} || exit 1; done
for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8 || exit 1; done
uninstall::
for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done
for t in ${TARGETS}; do ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/$$t ; done
for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m || exit 1; done
for t in ${TARGETS}; do ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/$$t || exit 1; done
clean distclean::
rm -f ${TARGETS}
......
......@@ -30,10 +30,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/bind9 ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/bind9 || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/bind9/$$i ; \
rm -f ${DESTDIR}${includedir}/bind9/$$i || exit 1; \
done
......@@ -45,16 +45,16 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dns ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dns || exit 1; \
done
for i in ${GENHEADERS}; do \
${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns ; \
${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns || exit 1; \
done
uninstall::
for i in ${GENHEADERS}; do \
rm -f ${DESTDIR}${includedir}/dns/$$i ; \
rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \
done
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/dns/$$i ; \
rm -f ${DESTDIR}${includedir}/dns/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dst ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dst || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/dst/$$i ; \
rm -f ${DESTDIR}${includedir}/dst/$$i || exit 1; \
done
......@@ -28,7 +28,7 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs || exit 1; \
done
${INSTALL_DATA} netdb.h ${DESTDIR}${includedir}/irs
${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/irs
......@@ -37,7 +37,7 @@ uninstall::
rm -f ${DESTDIR}${includedir}/irs/platform.h
rm -f ${DESTDIR}${includedir}/irs/netdb.h
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/irs/$$i ; \
rm -f ${DESTDIR}${includedir}/irs/$$i || exit 1; \
done
distclean::
......
......@@ -22,5 +22,5 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/irs || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -45,14 +45,14 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/isc
uninstall::
rm -f ${DESTDIR}${includedir}/isc/platform.h
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
distclean::
......
......@@ -29,10 +29,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pk11 ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pk11 || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/pk11/$$i ; \
rm -f ${DESTDIR}${includedir}/pk11/$$i || exit 1; \
done
......@@ -29,10 +29,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pkcs11 ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/pkcs11/$$i ; \
rm -f ${DESTDIR}${includedir}/pkcs11/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -25,5 +25,5 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
......@@ -26,10 +26,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -22,10 +22,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/pkcs11/$$i ; \
rm -f ${DESTDIR}${includedir}/pkcs11/$$i || exit 1; \
done
......@@ -26,5 +26,5 @@ installdirs:
install:: installdirs
for i in $(HEADERS); do \
$(INSTALL_DATA) $(srcdir)\$$i $(includedir)\isc ; \
$(INSTALL_DATA) $(srcdir)\$$i $(includedir)\isc || exit 1; \
done
......@@ -22,5 +22,5 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -25,10 +25,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isc/$$i ; \
rm -f ${DESTDIR}${includedir}/isc/$$i || exit 1; \
done
......@@ -30,10 +30,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccc ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccc || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isccc/$$i ; \
rm -f ${DESTDIR}${includedir}/isccc/$$i || exit 1; \
done
......@@ -31,10 +31,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccfg ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccfg || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/isccfg/$$i ; \
rm -f ${DESTDIR}${includedir}/isccfg/$$i || exit 1; \
done
......@@ -30,7 +30,7 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/lwres ; \
${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/lwres || exit 1; \
done
${INSTALL_DATA} netdb.h ${DESTDIR}${includedir}/lwres
${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/lwres
......@@ -39,7 +39,7 @@ uninstall::
rm -f ${DESTDIR}${includedir}/lwres/platform.h
rm -f ${DESTDIR}${includedir}/lwres/netdb.h
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/lwres/$$i ; \
rm -f ${DESTDIR}${includedir}/lwres/$$i || exit 1; \
done
distclean::
......
......@@ -93,7 +93,7 @@ timestamp: ${MANOBJS}
touch timestamp
install:: installdirs
for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man3; done
for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man3 || exit 1; done
rm -f ${man3}/lwres_addr_parse.3
@LN@ ${man3}/lwres_resutil.3 ${man3}/lwres_addr_parse.3
rm -f ${man3}/lwres_buffer_add.3
......@@ -232,7 +232,7 @@ install:: installdirs
@LN@ ${man3}/lwres_resutil.3 ${man3}/lwres_string_parse.3
uninstall::
for m in ${MANPAGES}; do rm -f ${man3}/$$m ; done
for m in ${MANPAGES}; do rm -f ${man3}/$$m || exit 1; done
rm -f ${man3}/lwres_addr_parse.3
rm -f ${man3}/lwres_buffer_add.3
rm -f ${man3}/lwres_buffer_back.3
......
......@@ -24,10 +24,10 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/lwres ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/lwres || exit 1; \
done
uninstall::
for i in ${HEADERS}; do \
rm -f ${DESTDIR}${includedir}/lwres/$$i ; \
rm -f ${DESTDIR}${includedir}/lwres/$$i || exit 1; \
done
......@@ -24,5 +24,5 @@ installdirs:
install:: installdirs
for i in ${HEADERS}; do \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/lwres ; \
${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/lwres || exit 1; \
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment