]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
without -p build fails when make is run with -j <x>
authorJelte Jansen <jelte@NLnetLabs.nl>
Fri, 9 Nov 2007 20:20:04 +0000 (20:20 +0000)
committerJelte Jansen <jelte@NLnetLabs.nl>
Fri, 9 Nov 2007 20:20:04 +0000 (20:20 +0000)
Makefile.in

index d776276fbdc676408b5a15c3adfdf47515a7f7dc..c89e8141c30574e7c881c7af31afb52cad087b16 100644 (file)
@@ -89,7 +89,7 @@ libldns.la:   $(LIBDNS_OBJECTS)
                $(LINK_LIB) -o libldns.la $(LIBDNS_LOBJECTS) -rpath $(libdir) $(RUNTIME_PATH)
 
 $(addprefix include/ldns/, $(notdir $(LIBDNS_HEADERS))): include/ldns/%.h: $(srcdir)/ldns/%.h
-               @if [ ! -d include ] ; then mkdir include ; fi ;
+               @if [ ! -d include ] ; then mkdir -p include ; fi ;
                @if [ ! -d include/ldns ] ; then ln -s ../ldns ./include/ldns ; fi ;
                MVPROG=/bin/cp $(INSTALL) -m 644 $< ./include/ldns/