From: Michael Smith Date: Fri, 21 Mar 2008 05:12:34 +0000 (+0000) Subject: replaced use of non-portable "readlink -f" with cd/dirname/pwd X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b29d0c42898141dbb5b7d1d2085da35ce108b9be;p=docbook-dsssl replaced use of non-portable "readlink -f" with cd/dirname/pwd combination that has the same effect --- diff --git a/releasetools/Targets.mk b/releasetools/Targets.mk index 76344bb42..736d0c47e 100644 --- a/releasetools/Targets.mk +++ b/releasetools/Targets.mk @@ -56,8 +56,8 @@ NEWS.xml: ChangeLog.xml distro="$(DISTRO)" \ previous-release="$(PREVIOUS_RELEASE)" \ release-version="$(RELVER)" \ - element.file="$(shell readlink -f $(DOCBOOK_ELEMENTS))" \ - param.file="$(shell readlink -f $(XSL_PARAMS))" + element.file="$(shell $(cd -P $(dirname $(DOCBOOK_ELEMENTS)) && pwd -P))" \ + param.file="$(shell $(cd -P $(dirname $(XSL_PARAMS)) && pwd -P))" NEWS.html: NEWS.xml $(XSLT) $< $(DOC_LINK_STYLE) $@ \