Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Skripnikov
doc
Commits
d1fdc536
Commit
d1fdc536
authored
Feb 16, 2017
by
Danir Tlepov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TASK [#CRM] added docx build
parent
3e0be844
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
crm/user-manual/Makefile
crm/user-manual/Makefile
+9
-4
No files found.
crm/user-manual/Makefile
View file @
d1fdc536
...
@@ -11,10 +11,11 @@ user-manual.xml: user-manual.md
...
@@ -11,10 +11,11 @@ user-manual.xml: user-manual.md
@
echo
Creating full XML image
@
echo
Creating full XML image
ifdef
VCSREV
ifdef
VCSREV
pandoc
$(DOCBOOKOPTS)
user-manual.md
\
pandoc
$(DOCBOOKOPTS)
user-manual.md
\
| xsltproc
--encoding
utf8
\
# | xsltproc --encoding utf8
\
--stringparam
vcs.revision
$(VCSREV)
\
# --stringparam vcs.revision
$(VCSREV)
\
--stringparam
vcs.changedby
"
$(VCSCHANGEDBY)
"
\
# --stringparam vcs.changedby "
$(VCSCHANGEDBY)
"
\
--xinclude
conf/vcs/insert-revision-and-build-date.xsl -
>
user-manual.xml
# --xinclude conf/vcs/insert-revision-and-build-date.xsl
-
> user-manual.xml
else
else
pandoc
$(DOCBOOKOPTS)
user-manual.md -o user-manual.xml
pandoc
$(DOCBOOKOPTS)
user-manual.md -o user-manual.xml
#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
...
@@ -40,6 +41,10 @@ pdf: user-manual.xml
...
@@ -40,6 +41,10 @@ pdf: 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
rm
-f
user-manual.xml
docx
:
user-manual.md
mkdir
-p
bin/docx
pandoc
-s
-S
-o
bin/docx/user-manual.docx user-manual.md
clean
:
clean
:
@
echo
Remove all
@
echo
Remove all
rm
-rf
*
.xml
*
.md bin/
*
rm
-rf
*
.xml
*
.md bin/
*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment