Commit 8cbd0aa4 authored by Sergey Korobitsin's avatar Sergey Korobitsin

Fix spec build

parent f457129e
...@@ -33,7 +33,6 @@ else ...@@ -33,7 +33,6 @@ else
#SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > spec.xml #SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > spec.xml
endif endif
sed -i 's/xml:base=".*"//g' spec.xml sed -i 's/xml:base=".*"//g' spec.xml
rm -f spec.md
html: spec.xml html: spec.xml
@echo Creating html document @echo Creating html document
...@@ -44,14 +43,12 @@ html: spec.xml ...@@ -44,14 +43,12 @@ html: spec.xml
# Working around images used in stylesheets # Working around images used in stylesheets
mkdir bin/html/resources/docbook mkdir bin/html/resources/docbook
cp -a $(DOCBOOK-XSL)/images bin/html/resources/docbook cp -a $(DOCBOOK-XSL)/images bin/html/resources/docbook
rm -f spec.xml
pdf: spec.md pdf: spec.md
@echo Creating pdf document @echo Creating pdf document
mkdir -p bin/pdf mkdir -p bin/pdf
# SP_ENCODING="UTF-8" docbook2pdf -o bin spec.xml # SP_ENCODING="UTF-8" docbook2pdf -o bin spec.xml
pandoc $(PANDOC_PDF_OPTIONS) -o bin/pdf/spec.pdf spec.md pandoc $(PANDOC_PDF_OPTIONS) -o bin/pdf/spec.pdf spec.md
rm -f spec.xml spec.md
odt-ru: spec.md odt-ru: spec.md
[ -d bin/odt ] || mkdir bin/odt [ -d bin/odt ] || mkdir bin/odt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment