summary refs log tree commit diff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2019-07-04 08:46:47 -0400
committerGraham Christensen <graham@grahamc.com>2019-07-04 09:10:13 -0400
commit35262ba6a78125e6f76055dd99416a93d00288fb (patch)
treec34466267bd89ff513644b82f8d5d591ea3444cc /doc/Makefile
parente65c2c66726dfa77e3b9ab51ae85887884162c8f (diff)
downloadnixpkgs-35262ba6a78125e6f76055dd99416a93d00288fb.tar
nixpkgs-35262ba6a78125e6f76055dd99416a93d00288fb.tar.gz
nixpkgs-35262ba6a78125e6f76055dd99416a93d00288fb.tar.bz2
nixpkgs-35262ba6a78125e6f76055dd99416a93d00288fb.tar.lz
nixpkgs-35262ba6a78125e6f76055dd99416a93d00288fb.tar.xz
nixpkgs-35262ba6a78125e6f76055dd99416a93d00288fb.tar.zst
nixpkgs-35262ba6a78125e6f76055dd99416a93d00288fb.zip
docs: get XSL from build / symlink
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/Makefile b/doc/Makefile
index afd3c781ebf..c127bea13c1 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -28,12 +28,12 @@ clean:
 validate: manual-full.xml doc-support/result
 	jing doc-support/result/docbook.rng manual-full.xml
 
-out/html/index.html: manual-full.xml style.css highlightjs
+out/html/index.html: doc-support/result manual-full.xml style.css highlightjs
 	mkdir -p out/html
 	xsltproc ${xsltFlags} \
 		--nonet --xinclude \
 		--output $@ \
-		"$$XSL/docbook/xhtml/docbook.xsl" \
+		doc-support/result/xsl/docbook/xhtml/docbook.xsl \
 		./manual-full.xml
 
 	mkdir -p out/html/highlightjs/
@@ -43,20 +43,20 @@ out/html/index.html: manual-full.xml style.css highlightjs
 	cp ./style.css out/html/style.css
 
 	mkdir -p out/html/images/callouts
-	cp "$$XSL/docbook/images/callouts/"*.svg out/html/images/callouts/
+	cp doc-support/result/xsl/docbook/images/callouts/*.svg out/html/images/callouts/
 	chmod u+w -R out/html/
 
 out/epub/manual.epub: manual-full.xml
 	mkdir -p out/epub/scratch
 	xsltproc ${xsltFlags} --nonet \
 		--output out/epub/scratch/ \
-		"$$XSL/docbook/epub/docbook.xsl" \
+		doc-support/result/xsl/docbook/epub/docbook.xsl \
 		./manual-full.xml
 
 	cp ./overrides.css out/epub/scratch/OEBPS
 	cp ./style.css out/epub/scratch/OEBPS
 	mkdir -p out/epub/scratch/OEBPS/images/callouts/
-	cp "$$XSL/docbook/images/callouts/"*.svg out/epub/scratch/OEBPS/images/callouts/
+	cp doc-support/result/xsl/docbook/images/callouts/*.svg out/epub/scratch/OEBPS/images/callouts/
 	echo "application/epub+zip" > mimetype
 	zip -0Xq "out/epub/manual.epub" mimetype
 	rm mimetype