xmlformat.conf: move to doc-support build
This commit is contained in:
parent
de58e706f9
commit
5a0696f6d0
@ -8,10 +8,10 @@ debug:
|
|||||||
nix-shell --run "xmloscopy --docbook5 ./manual.xml ./manual-full.xml"
|
nix-shell --run "xmloscopy --docbook5 ./manual.xml ./manual-full.xml"
|
||||||
|
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
format:
|
format: doc-support/result
|
||||||
find . -iname '*.xml' -type f | while read f; do \
|
find . -iname '*.xml' -type f | while read f; do \
|
||||||
echo $$f ;\
|
echo $$f ;\
|
||||||
xmlformat --config-file "$$XMLFORMAT_CONFIG" -i $$f ;\
|
xmlformat --config-file "doc-support/result/xmlformat.conf" -i $$f ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
.PHONY: fix-misc-xml
|
.PHONY: fix-misc-xml
|
||||||
|
@ -13,7 +13,6 @@ in pkgs.stdenv.mkDerivation {
|
|||||||
# nix-shell between each test, maybe even:
|
# nix-shell between each test, maybe even:
|
||||||
# $ nix-shell --run "make clean all"
|
# $ nix-shell --run "make clean all"
|
||||||
# otherwise they won't reapply :)
|
# otherwise they won't reapply :)
|
||||||
XMLFORMAT_CONFIG = ../nixos/doc/xmlformat.conf;
|
|
||||||
xsltFlags = lib.concatStringsSep " " [
|
xsltFlags = lib.concatStringsSep " " [
|
||||||
"--param section.autolabel 1"
|
"--param section.autolabel 1"
|
||||||
"--param section.label.includes.component.label 1"
|
"--param section.label.includes.component.label 1"
|
||||||
|
@ -14,6 +14,7 @@ in pkgs.runCommand "doc-support" {}
|
|||||||
ln -s ${pkgs.docbook5}/xml/rng/docbook/docbook.rng ./docbook.rng
|
ln -s ${pkgs.docbook5}/xml/rng/docbook/docbook.rng ./docbook.rng
|
||||||
ln -s ${pkgs.docbook_xsl_ns}/xml/xsl ./xsl
|
ln -s ${pkgs.docbook_xsl_ns}/xml/xsl ./xsl
|
||||||
|
|
||||||
|
ln -s ${../../nixos/doc/xmlformat.conf} ./xmlformat.conf
|
||||||
ln -s ${pkgs.documentation-highlighter} ./highlightjs
|
ln -s ${pkgs.documentation-highlighter} ./highlightjs
|
||||||
|
|
||||||
echo -n "${version}" > ./version
|
echo -n "${version}" > ./version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user