Commit e3ddb375 authored by Sergey Korobitsin's avatar Sergey Korobitsin

Fix build

parent d353fcc2
...@@ -32,7 +32,6 @@ else ...@@ -32,7 +32,6 @@ else
#SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > developer-manual.xml #SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > developer-manual.xml
endif endif
sed -i 's/xml:base=".*"//g' developer-manual.xml sed -i 's/xml:base=".*"//g' developer-manual.xml
rm -f developer-manual.md
html: developer-manual.xml html: developer-manual.xml
@echo Creating html document @echo Creating html document
...@@ -43,14 +42,12 @@ html: developer-manual.xml ...@@ -43,14 +42,12 @@ html: developer-manual.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 developer-manual.xml
pdf: developer-manual.md pdf: developer-manual.md
@echo Creating pdf document @echo Creating pdf document
mkdir -p bin/pdf mkdir -p bin/pdf
# SP_ENCODING="UTF-8" docbook2pdf -o bin developer-manual.xml # SP_ENCODING="UTF-8" docbook2pdf -o bin developer-manual.xml
pandoc $(PANDOC_PDF_OPTIONS) -o bin/pdf/developer-manual.pdf developer-manual.md pandoc $(PANDOC_PDF_OPTIONS) -o bin/pdf/developer-manual.pdf developer-manual.md
rm -f developer-manual.xml developer-manual.md
clean: clean:
@echo Remove all @echo Remove all
......
...@@ -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
......
...@@ -20,7 +20,6 @@ else ...@@ -20,7 +20,6 @@ else
#SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > user-manual.xml #SP_ENCODING="UTF-8" xmllint --encode utf8 --xinclude src/index.xml > user-manual.xml
endif endif
sed -i 's/xml:base=".*"//g' user-manual.xml sed -i 's/xml:base=".*"//g' user-manual.xml
rm -f user-manual.md
html: user-manual.xml html: user-manual.xml
@echo Creating html document @echo Creating html document
...@@ -31,14 +30,12 @@ html: user-manual.xml ...@@ -31,14 +30,12 @@ html: user-manual.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 user-manual.xml
pdf: user-manual.xml pdf: user-manual.xml
@echo Creating pdf document @echo Creating pdf document
mkdir -p bin/pdf mkdir -p bin/pdf
# SP_ENCODING="UTF-8" docbook2pdf -o bin user-manual.xml # SP_ENCODING="UTF-8" docbook2pdf -o bin user-manual.xml
dblatex -b xetex -o bin/user-manual.pdf user-manual.xml dblatex -b xetex -o bin/user-manual.pdf user-manual.xml
rm -f user-manual.xml
docx: user-manual.md docx: user-manual.md
mkdir -p bin/docx 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