From: Wouter Wijngaards Date: Mon, 12 Dec 2011 08:43:53 +0000 (+0000) Subject: Test symlink with -h. X-Git-Tag: release-1.6.12~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41a5b027c0cf053b0478358c2b8d8f9dd16a816e;p=thirdparty%2Fldns.git Test symlink with -h. --- diff --git a/Makefile.in b/Makefile.in index b229c50d..437f0ba2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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