]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Make parallel builds fixup.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 5 Feb 2008 14:45:19 +0000 (14:45 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 5 Feb 2008 14:45:19 +0000 (14:45 +0000)
git-svn-id: file:///svn/unbound/trunk@919 be551aaa-1e26-0410-a405-d3ace91eadb9

Makefile.in
doc/Changelog

index 4b630a69c0aef4fdb29ebb0ecc6a4b67ef05b221..65507dfcc605c5f7155d3aaa3048854848862533 100644 (file)
@@ -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 $@'
index 5c356f17776bfb56319c2dce9c05823678babbdc..fed8a98b5ea2a71a6aa345531af32a51acbf8afa 100644 (file)
@@ -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