Make all paths relative to avoid issues in dependency checking

This commit is contained in:
Reinhard Müller 2019-03-14 00:43:44 +01:00
parent 36eab61c2b
commit 6bab00e8f2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ makefile="/tmp/makefile-${pid}"
| tr '\t\r\n' ' ' \
| sed -r 's/(<xsl:(include|import)[^>]*>)/\n\1\n/g' \
| sed -rn '/<xsl:(include|import)[^>]*>/s/^.*href *= *"([^"]*)".*$/\1/gp' \
| xargs -I'{}' realpath "$(dirname ${xsl_file})/{}" \
| xargs -I'{}' realpath --relative-to="." "$(dirname ${xsl_file})/{}" \
))
if [ -n "${prerequisites}" ]; then
echo "all: ${xsl_file}"