From d58327876f01a6309898468cb5b1d41f7aa9dc98 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 5 Feb 2008 14:45:19 +0000 Subject: [PATCH] Make parallel builds fixup. git-svn-id: file:///svn/unbound/trunk@919 be551aaa-1e26-0410-a405-d3ace91eadb9 --- Makefile.in | 10 +++++----- doc/Changelog | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4b630a69c..65507dfcc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -112,7 +112,7 @@ $(BUILD)%.o: $(srcdir)/%.c $(INFO) Build $< @if test ! -z "$(ldnsdir)" -a ! -e $(ldnsdir)/include/ldns/ldns.h; \ then (cd $(ldnsdir); $(MAKE) copy-headers); fi - @if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi + @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi $Q$(COMPILE) -c $< -o $@ all: $(COMMON_OBJ) unbound unbound-checkconf lib unbound-host @@ -188,14 +188,14 @@ util/configlexer.c: $(srcdir)/util/configlexer.lex util/configparser.h ifeq "$(strip $(LEX))" ":" $Qecho "rebuild lexer, but no lex program, skipped" else - @if test ! -d util; then $(INSTALL) -d util; fi + @-if test ! -d util; then $(INSTALL) -d util; fi $Qecho "#include \"util/configyyrename.h\"" > $@ $Q$(LEX) -t $< >> $@ endif util/configparser.c util/configparser.h: $(srcdir)/util/configparser.y $(INFO) Yacc $< - @if test ! -d util; then $(INSTALL) -d util; fi + @-if test ! -d util; then $(INSTALL) -d util; fi $Q$(YACC) -d -o util/configparser.c $< clean: @@ -211,7 +211,7 @@ realclean: clean $(BUILD)%.lint: $(srcdir)/%.c $(INFO) Lint $< - @if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi + @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi $Q$(LINT) $(LINTFLAGS) -I. -I$(srcdir) -I$(ldnsdir)/include $< $Qtouch $@ @@ -266,7 +266,7 @@ $(BUILD)%.d: $(srcdir)/%.c $(INFO) Depend $< @if test ! -z "$(ldnsdir)" -a ! -e $(ldnsdir)/include/ldns/ldns.h; \ then (cd $(ldnsdir); $(MAKE) copy-headers); fi - @if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi + @-if test ! -d $(dir $@); then $(INSTALL) -d $(patsubst %/,%,$(dir $@)); fi $Q$(SHELL) -ec '$(CC) -MM $(CPPFLAGS) $(CFLAGS) $< \ | sed '\''s!\(.*\)\.o[ :]*!$(dir $@)\1.o $@ : !g'\'' > $@; \ [ -s $@ ] || rm -f $@' diff --git a/doc/Changelog b/doc/Changelog index 5c356f177..fed8a98b5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,7 @@ 5 February 2008: Wouter - statistics-interval: seconds option added. - test for statistics option + - ignore errors making directories, these can occur in parallel builds 31 January 2008: Wouter - bg thread/process reads and writes the pipe nonblocking all the time -- 2.47.2