f033dfbb1b
(1) Fix top level makefile to stop on error. (2) Use <errno.h>, not <sys/errno.h>, in rplayd/cdrom.c to fix Solaris build. (3) Fix botched configure test for libedit vs. readline.
60 lines
1.8 KiB
Text
60 lines
1.8 KiB
Text
$NetBSD: patch-ba,v 1.1 2009/05/18 05:11:50 dholland Exp $
|
|
|
|
Fix makefile to stop on error.
|
|
|
|
--- Makefile.in.orig 2009-05-18 00:56:38.000000000 -0400
|
|
+++ Makefile.in 2009-05-18 00:57:03.000000000 -0400
|
|
@@ -10,7 +10,7 @@
|
|
all:
|
|
@for i in $(TARGET); \
|
|
do \
|
|
- (echo make all in $$i...; cd $$i; $(MAKE) $(MFLAGS) all); \
|
|
+ (echo make all in $$i...; cd $$i; $(MAKE) $(MFLAGS) all) || exit 1; \
|
|
done;
|
|
|
|
world: all install
|
|
@@ -18,32 +18,32 @@
|
|
install:
|
|
@for i in $(TARGET); \
|
|
do \
|
|
- (echo make install in $$i...; cd $$i; $(MAKE) $(MFLAGS) install); \
|
|
+ (echo make install in $$i...; cd $$i; $(MAKE) $(MFLAGS) install) || exit 1; \
|
|
done;
|
|
|
|
uninstall:
|
|
@for i in $(TARGET); \
|
|
do \
|
|
- (echo make uninstall in $$i...; cd $$i; $(MAKE) $(MFLAGS) uninstall); \
|
|
+ (echo make uninstall in $$i...; cd $$i; $(MAKE) $(MFLAGS) uninstall) || exit 1; \
|
|
done;
|
|
|
|
clean:
|
|
@for i in $(TARGET); \
|
|
do \
|
|
- (echo make clean in $$i...; cd $$i; $(MAKE) $(MFLAGS) clean); \
|
|
+ (echo make clean in $$i...; cd $$i; $(MAKE) $(MFLAGS) clean) || exit 1; \
|
|
done;
|
|
|
|
distclean:
|
|
@for i in $(TARGET); \
|
|
do \
|
|
- (echo make distclean in $$i...; cd $$i; $(MAKE) $(MFLAGS) distclean); \
|
|
+ (echo make distclean in $$i...; cd $$i; $(MAKE) $(MFLAGS) distclean) || exit 1; \
|
|
done;
|
|
$(RM) Makefile Makefile.config config.status config.cache config.log *~ *.bak *.orig stamp-configure stamp-build
|
|
|
|
tags:
|
|
@for i in $(TARGET); \
|
|
do \
|
|
- (echo make tags in $$i...; cd $$i; $(MAKE) $(MFLAGS) tags); \
|
|
+ (echo make tags in $$i...; cd $$i; $(MAKE) $(MFLAGS) tags) || exit 1; \
|
|
done;
|
|
|
|
TAGS: tags
|
|
@@ -53,5 +53,5 @@
|
|
depend:
|
|
@for i in $(TARGET); \
|
|
do \
|
|
- (echo make depend in $$i...; cd $$i; $(MAKE) $(MFLAGS) depend); \
|
|
+ (echo make depend in $$i...; cd $$i; $(MAKE) $(MFLAGS) depend) || exit 1; \
|
|
done;
|