]> granicus.if.org Git - docbook-dsssl/commitdiff
replaced use of non-portable "readlink -f" with cd/dirname/pwd
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 21 Mar 2008 05:12:34 +0000 (05:12 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 21 Mar 2008 05:12:34 +0000 (05:12 +0000)
combination that has the same effect

releasetools/Targets.mk

index 76344bb42de64e205a24aa7882dc99f9dc522df7..736d0c47ea3b769e04458f52b137dd2d9f6358e0 100644 (file)
@@ -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) $@ \