aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Benedikt Morbach <moben@exherbo.org> 2017-02-18 21:42:58 +0100
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2017-02-19 18:06:15 +0000
commite3aada5331bedfc97466967eaf1e65cb8dbf6943 (patch)
tree932b0e4d92075d2160bc04135c41a06a3b5c9d8b
parent572e65d9cbef0c05e10159723ccd21ff5c873d46 (diff)
downloadpaludis-e3aada5331bedfc97466967eaf1e65cb8dbf6943.tar.gz
paludis-e3aada5331bedfc97466967eaf1e65cb8dbf6943.tar.xz
Revert "build: make asciidoc output to a tmp file"
This reverts commit 572e65d9cbef0c05e10159723ccd21ff5c873d46.
-rw-r--r--src/clients/cave/CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/clients/cave/CMakeLists.txt b/src/clients/cave/CMakeLists.txt
index c8bdbfa..e471389 100644
--- a/src/clients/cave/CMakeLists.txt
+++ b/src/clients/cave/CMakeLists.txt
@@ -201,9 +201,7 @@ if(NOT USE_PREBUILT_DOCUMENTATION)
add_custom_command(OUTPUT
"${CMAKE_CURRENT_BINARY_DIR}/cave.xml"
COMMAND
- asciidoc --doctype=manpage --backend=docbook --out-file "${CMAKE_CURRENT_BINARY_DIR}/cave.xml.tmp" --conf "${PROJECT_SOURCE_DIR}/misc/asciidoc.conf" "${CMAKE_CURRENT_BINARY_DIR}/cave.txt"
- COMMAND
- mv "${CMAKE_CURRENT_BINARY_DIR}/cave.xml.tmp" "${CMAKE_CURRENT_BINARY_DIR}/cave.xml"
+ asciidoc --doctype=manpage --backend=docbook --out-file "${CMAKE_CURRENT_BINARY_DIR}/cave.xml" --conf "${PROJECT_SOURCE_DIR}/misc/asciidoc.conf" "${CMAKE_CURRENT_BINARY_DIR}/cave.txt"
DEPENDS
"${PROJECT_SOURCE_DIR}/misc/asciidoc.conf"
"${CMAKE_CURRENT_BINARY_DIR}/cave.txt")
@@ -236,9 +234,7 @@ if(NOT USE_PREBUILT_DOCUMENTATION)
add_custom_command(OUTPUT
"${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.xml"
COMMAND
- asciidoc --doctype=manpage --backend=docbook --out-file "${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.xml.tmp" --conf "${PROJECT_SOURCE_DIR}/misc/asciidoc.conf" "${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.txt"
- COMMAND
- mv "${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.xml.tmp" "${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.xml"
+ asciidoc --doctype=manpage --backend=docbook --out-file "${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.xml" --conf "${PROJECT_SOURCE_DIR}/misc/asciidoc.conf" "${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.txt"
DEPENDS
"${PROJECT_SOURCE_DIR}/misc/asciidoc.conf"
"${CMAKE_CURRENT_BINARY_DIR}/cave-${subcommand}.txt")