From: Max Khon Date: Wed, 22 Jun 2022 21:40:27 +0000 (+0300) Subject: Create relative symlinks so that the source tree can be shared (#4574) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=932d7962c3cc07300aad620abb31ca481cd78352;p=thirdparty%2Ffreeradius-server.git Create relative symlinks so that the source tree can be shared (#4574) across several hosts to be accessed remotely --- diff --git a/src/lib/all.mk b/src/lib/all.mk index ff4454b0733..bb1970bf6da 100644 --- a/src/lib/all.mk +++ b/src/lib/all.mk @@ -19,7 +19,7 @@ src/freeradius-devel: | src/include/${1} src/include/${1}: @echo LN-SF src/lib/${1} $$@ - $${Q}[ -e $$@ ] || ln -sf $${top_srcdir}/src/lib/${1} $$@ + $${Q}[ -e $$@ ] || ln -sf ../lib/${1} $$@ install.src.include: $(addprefix ${SRC_INCLUDE_DIR}/,${1}/base.h) endef @@ -29,7 +29,7 @@ src/freeradius-devel: | src/include/${1} src/include/${1}: @echo LN-SF src/protocols/${1} $$@ - $${Q}[ -e $$@ ] || ln -sf $${top_srcdir}/src/protocols/${1} $$@ + $${Q}[ -e $$@ ] || ln -sf ../protocols/${1} $$@ install.src.include: $(addprefix ${SRC_INCLUDE_DIR}/${1}/,$(notdir $(wildcard src/protocols/${1}/*.h))) endef