debian: catch errors for the "base" and "module-*" targets.
diff --git a/debian/Makefile b/debian/Makefile
index 5ba6119..d1112e4 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -227,10 +227,10 @@
 rules:	rules-base $(addprefix rules-module-, $(MODULES))
 
 base:	rules-base
-	@echo "===> Building base package"
-	@$(SHELL) -c "cd debuild-base/$(SRCDIR) ; export DEB_BUILD_OPTIONS=parallel=$(NPROC) ; time -p debuild -us -uc"
-	@find debuild-base/ -maxdepth 1 -type f -exec cp {} ../../ \;
-	@ln -s debuild-base/$(SRCDIR)/debian/nginx/usr/sbin base
+	@echo "===> Building base package" ; \
+	$(SHELL) -c "cd debuild-base/$(SRCDIR) ; export DEB_BUILD_OPTIONS=parallel=$(NPROC) ; time -p debuild -us -uc" && \
+	find debuild-base/ -maxdepth 1 -type f -exec cp {} ../../ \; && \
+	ln -s debuild-base/$(SRCDIR)/debian/nginx/usr/sbin base
 
 $(BASE_SRC):
 	@{ \
@@ -272,8 +272,8 @@
 
 module-%: rules-module-%
 	@echo "===> Building nginx-$@ package" ; \
-	$(SHELL) -c "cd debuild-$@/$(SRCDIR) ; export DEB_BUILD_OPTIONS=parallel=$(NPROC) ; time -p debuild -us -uc" ; \
-	find debuild-$@/ -maxdepth 1 -type f -exec cp {} ../../ \;; \
+	$(SHELL) -c "cd debuild-$@/$(SRCDIR) ; export DEB_BUILD_OPTIONS=parallel=$(NPROC) ; time -p debuild -us -uc" && \
+	find debuild-$@/ -maxdepth 1 -type f -exec cp {} ../../ \; && \
 	ln -s debuild-$@/$(SRCDIR)/debian/nginx-$@/usr/lib/nginx/modules $@
 
 rules-module-%: $(BASE_SRC)