summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorScott James Remnant <scott@ubuntu.com>2005-11-22 16:33:25 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-22 16:33:25 +0100
commitc699bc48e1432bc1b283907a52e461b97f2e45b1 (patch)
treeba5b9669a1aa7fc3a429ce28befd9ef0743475c3 /Makefile
parent1b75f1096e8fdf2ec5ab4ec112f20b69fbd084c3 (diff)
Makefile: fail, if submake fails
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 718cf4347d..54bfb31cd3 100644
--- a/Makefile
+++ b/Makefile
@@ -208,7 +208,7 @@ all: $(PROGRAMS) $(MAN_PAGES)
LIBUDEV="$(PWD)/$(LIBUDEV)" \
LIBSYSFS="$(PWD)/$(LIBSYSFS)" \
QUIET="$(QUIET)" \
- -C $$target $@; \
+ -C $$target $@ || exit 1; \
done;
.PHONY: all
.DEFAULT: all
@@ -270,7 +270,7 @@ clean:
- rm -f udev-$(VERSION).tar.gz
@extras="$(EXTRAS)"; for target in $$extras; do \
echo $$target; \
- $(MAKE) -C $$target $@; \
+ $(MAKE) -C $$target $@ || exit 1; \
done;
.PHONY: clean
@@ -292,7 +292,7 @@ install-config: $(GEN_CONFIGS)
fi
@extras="$(EXTRAS)"; for target in $$extras; do \
echo $$target; \
- $(MAKE) -C $$target $@; \
+ $(MAKE) -C $$target $@ || exit 1; \
done;
.PHONY: install-config
@@ -307,7 +307,7 @@ install-man:
- ln -f -s udevd.8 $(DESTDIR)$(mandir)/man8/udevcontrol.8
@extras="$(EXTRAS)"; for target in $$extras; do \
echo $$target; \
- $(MAKE) -C $$target $@; \
+ $(MAKE) -C $$target $@ || exit 1; \
done;
.PHONY: install-man
@@ -322,7 +322,7 @@ uninstall-man:
- rm -f $(DESTDIR)$(mandir)/man8/udevcontrol.8
@extras="$(EXTRAS)"; for target in $$extras; do \
echo $$target; \
- $(MAKE) -C $$target $@; \
+ $(MAKE) -C $$target $@ || exit 1; \
done;
.PHONY: uninstall-man
@@ -338,7 +338,7 @@ install-bin:
$(INSTALL_PROGRAM) -D udevstart $(DESTDIR)$(sbindir)/udevstart
@extras="$(EXTRAS)"; for target in $$extras; do \
echo $$target; \
- $(MAKE) -C $$target $@; \
+ $(MAKE) -C $$target $@ || exit 1; \
done;
ifndef DESTDIR
- killall udevd
@@ -362,7 +362,7 @@ ifndef DESTDIR
endif
@extras="$(EXTRAS)"; for target in $$extras; do \
echo $$target; \
- $(MAKE) -C $$target $@; \
+ $(MAKE) -C $$target $@ || exit 1; \
done;
.PHONY: uninstall-bin