Commit e3ddb375 authored by Sergey Korobitsin's avatar Sergey Korobitsin

Fix build

parent d353fcc2
......@@ -32,7 +32,6 @@ else
#SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > developer-manual.xml
endif
sed -i 's/xml:base=".*"//g' developer-manual.xml
rm -f developer-manual.md
html: developer-manual.xml
@echo Creating html document
......@@ -43,14 +42,12 @@ html: developer-manual.xml
# Working around images used in stylesheets
mkdir bin/html/resources/docbook
cp -a $(DOCBOOK-XSL)/images bin/html/resources/docbook
rm -f developer-manual.xml
pdf: developer-manual.md
@echo Creating pdf document
mkdir -p bin/pdf
# SP_ENCODING="UTF-8" docbook2pdf -o bin developer-manual.xml
pandoc $(PANDOC_PDF_OPTIONS) -o bin/pdf/developer-manual.pdf developer-manual.md
rm -f developer-manual.xml developer-manual.md
clean:
@echo Remove all
......
......@@ -33,7 +33,6 @@ else
#SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > spec.xml
endif
sed -i 's/xml:base=".*"//g' spec.xml
rm -f spec.md
html: spec.xml
@echo Creating html document
......@@ -44,14 +43,12 @@ html: spec.xml
# Working around images used in stylesheets
mkdir bin/html/resources/docbook
cp -a $(DOCBOOK-XSL)/images bin/html/resources/docbook
rm -f spec.xml
pdf: spec.md
@echo Creating pdf document
mkdir -p bin/pdf
# SP_ENCODING="UTF-8" docbook2pdf -o bin spec.xml
pandoc $(PANDOC_PDF_OPTIONS) -o bin/pdf/spec.pdf spec.md
rm -f spec.xml spec.md
odt-ru: spec.md
[ -d bin/odt ] || mkdir bin/odt
......
......@@ -20,7 +20,6 @@ else
#SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > user-manual.xml
endif
sed -i 's/xml:base=".*"//g' user-manual.xml
rm -f user-manual.md
html: user-manual.xml
@echo Creating html document
......@@ -31,14 +30,12 @@ html: user-manual.xml
# Working around images used in stylesheets
mkdir bin/html/resources/docbook
cp -a $(DOCBOOK-XSL)/images bin/html/resources/docbook
rm -f user-manual.xml
pdf: user-manual.xml
@echo Creating pdf document
mkdir -p bin/pdf
# SP_ENCODING="UTF-8" docbook2pdf -o bin user-manual.xml
dblatex -b xetex -o bin/user-manual.pdf user-manual.xml
rm -f user-manual.xml
docx: user-manual.md
mkdir -p bin/docx
......
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