]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Test symlink with -h.
authorWouter Wijngaards <wouter@NLnetLabs.nl>
Mon, 12 Dec 2011 08:43:53 +0000 (08:43 +0000)
committerWouter Wijngaards <wouter@NLnetLabs.nl>
Mon, 12 Dec 2011 08:43:53 +0000 (08:43 +0000)
Makefile.in

index b229c50dab17c6d6d2e470baadb375dbaac6ddab..437f0ba26db1742267ae20c2b5aa1b2c5270464c 100644 (file)
@@ -106,10 +106,10 @@ setup-builddir:
        if test ! -d compat ; then mkdir compat ; fi
        if test ! -d drill ; then mkdir drill ; fi
        if test ! -d examples ; then mkdir examples ; fi
-       if test ! -e config.h ; then ln -s ldns/config.h . ; fi
-       if test ! -d lib ; then ln -s .libs lib ; fi ;
+       if test ! -h config.h ; then ln -s ldns/config.h . ; fi
+       if test ! -h lib ; then ln -s .libs lib ; fi ;
        if test ! -d include ; then $(INSTALL) -d include; fi
-       if test ! -d include/ldns ; then ln -s ../ldns include/ldns || echo "include/ldns exists"; fi
+       if test ! -h include/ldns ; then ln -s ../ldns include/ldns || echo "include/ldns exists"; fi
 
 putdown-builddir:
        rm -f include/ldns lib config.h