aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-10-30 18:45:02 +0100
committerUlrich Müller <ulm@gentoo.org>2023-11-02 18:03:11 +0100
commitbc2e4a7c7f83310ff46f1cf489fea0249ef63137 (patch)
tree4a5ff25534ab289f41681dd6659f63a22f0c28a4 /Makefile
parent*.xsl: XML declaration, local variables for Emacs, whitespace fixes (diff)
downloaddevmanual-bc2e4a7c7f83310ff46f1cf489fea0249ef63137.tar.gz
devmanual-bc2e4a7c7f83310ff46f1cf489fea0249ef63137.tar.bz2
devmanual-bc2e4a7c7f83310ff46f1cf489fea0249ef63137.zip
depend.xsl: Canonicalise output paths
Convert to absolute paths in XSLT, so postprocessing with sed is no longer needed. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 89874ae..e75cbf1 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ appendices/todo-list/index.html: $(XMLS)
# Generate the list of dependencies with XSLT, which appears to be a
# better tool for this than make.
.depend: $(XMLS) eclass-reference/text.xml depend.xsl devbook.xsl
- @xsltproc depend.xsl $(XMLS) | sed ':x;s%[^ /]*/\.\./%%;tx' > $@
+ @xsltproc depend.xsl $(XMLS) > $@
install: all
set -e; \