Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
35dfb6b7
Commit
35dfb6b7
authored
12 years ago
by
Dmitry Simonenko
Browse files
Options
Downloads
Patches
Plain Diff
bug837484: documentation out-of-source build support added
parent
409d6dc5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/developer/CMakeLists.txt
+3
-2
3 additions, 2 deletions
doc/developer/CMakeLists.txt
doc/user/CMakeLists.txt
+8
-7
8 additions, 7 deletions
doc/user/CMakeLists.txt
with
11 additions
and
9 deletions
doc/developer/CMakeLists.txt
+
3
−
2
View file @
35dfb6b7
...
...
@@ -4,7 +4,8 @@ set(PATH_DEVGUIDE_TXT "${PROJECT_BINARY_DIR}/doc/developer/tarantool_developer_g
if
(
NOT JING STREQUAL
"JING-NOTFOUND"
)
add_custom_target
(
doc-check-dev ALL
COMMAND
${
JING
}
http://docbook.org/xml/5.0/rng/docbookxi.rng developer.xml
)
COMMAND
${
JING
}
http://docbook.org/xml/5.0/rng/docbookxi.rng
${
CMAKE_SOURCE_DIR
}
/doc/developer/developer.xml
)
endif
()
add_custom_command
(
OUTPUT
${
PATH_DEVGUIDE_HTML
}
...
...
@@ -12,7 +13,7 @@ add_custom_command(OUTPUT ${PATH_DEVGUIDE_HTML}
--stringparam collect.xref.targets
"all"
--xinclude -o
${
PATH_DEVGUIDE_HTML
}
${
CMAKE_SOURCE_DIR
}
/doc/user/tnt-html.xsl
developer.xml
)
${
CMAKE_SOURCE_DIR
}
/doc/developer/
developer.xml
)
add_custom_command
(
OUTPUT
${
PATH_DEVGUIDE_TXT
}
DEPENDS
${
PATH_DEVGUIDE_HTML
}
...
...
This diff is collapsed.
Click to expand it.
doc/user/CMakeLists.txt
+
8
−
7
View file @
35dfb6b7
...
...
@@ -12,7 +12,8 @@ set(PATH_USERGUIDE_TXT "${PROJECT_BINARY_DIR}/doc/user/tarantool_user_guide.txt"
#
if
(
NOT XMLLINT STREQUAL
"XMLLINT-NOTFOUND"
)
add_custom_target
(
doc-check ALL
COMMAND
${
XMLLINT
}
--xinclude --noout --relaxng http://docbook.org/xml/5.0/rng/docbookxi.rng user.xml
)
COMMAND
${
XMLLINT
}
--xinclude --noout --relaxng http://docbook.org/xml/5.0/rng/docbookxi.rng
${
CMAKE_SOURCE_DIR
}
/doc/user/user.xml
)
endif
()
#
...
...
@@ -22,8 +23,8 @@ add_custom_command(OUTPUT ${PATH_USERGUIDE_HTML}
COMMAND
${
XSLTPROC
}
--nonet
--stringparam collect.xref.targets
"all"
--xinclude -o
${
PATH_USERGUIDE_HTML
}
tnt-html.xsl
user.xml
)
${
CMAKE_SOURCE_DIR
}
/doc/user/
tnt-html.xsl
${
CMAKE_SOURCE_DIR
}
/doc/user/
user.xml
)
add_custom_command
(
OUTPUT
${
PATH_USERGUIDE_TXT
}
DEPENDS
${
PATH_USERGUIDE_HTML
}
...
...
@@ -49,16 +50,16 @@ add_custom_target(pdf
COMMAND
${
XSLTPROC
}
--nonet
--stringparam collect.xref.targets
"all"
--xinclude -o tarantool_user_guide.fo
tnt-fo.xsl
user.xml
${
CMAKE_SOURCE_DIR
}
/doc/user/
tnt-fo.xsl
${
CMAKE_SOURCE_DIR
}
/doc/user/
user.xml
COMMAND fop tarantool_user_guide.fo tarantool_user_guide.pdf
)
add_custom_target
(
relink
COMMAND
${
XSLTPROC
}
--nonet
--stringparam collect.xref.targets
"only"
--xinclude -o
${
PATH_USERGUIDE_HTML
}
tnt-html.xsl
user.xml
)
${
CMAKE_SOURCE_DIR
}
/doc/user/
tnt-html.xsl
${
CMAKE_SOURCE_DIR
}
/doc/user/
user.xml
)
#
# Java saxon-based documentation generation (misc)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment