forked from arangodb/arangodb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only regenerated README in maintainer mode
- Loading branch information
Showing
3 changed files
with
102 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,56 @@ | ||
# -*- mode: CMAKE; -*- | ||
|
||
set(MAN_NAMES | ||
man1/arangob.1 | ||
man1/arangodump.1 | ||
man1/arangoimp.1 | ||
man1/arangorestore.1 | ||
man1/arangosh.1 | ||
man8/rcarangod.8 | ||
man8/arangod.8 | ||
man8/arango-dfdb.8 | ||
man8/foxx-manager.8 | ||
) | ||
|
||
set(MAN_FILES) | ||
|
||
foreach (m IN LISTS MAN_NAMES) | ||
set(msrc ${CMAKE_SOURCE_DIR}/Documentation/${m}) | ||
set(mdst ${CMAKE_SOURCE_DIR}/Documentation/man/${m}) | ||
if (USE_MAINTAINER_MODE) | ||
set(MAN_NAMES | ||
man1/arangob.1 | ||
man1/arangodump.1 | ||
man1/arangoimp.1 | ||
man1/arangorestore.1 | ||
man1/arangosh.1 | ||
man8/rcarangod.8 | ||
man8/arangod.8 | ||
man8/arango-dfdb.8 | ||
man8/foxx-manager.8 | ||
) | ||
|
||
set(MAN_FILES) | ||
|
||
foreach (m IN LISTS MAN_NAMES) | ||
set(msrc ${CMAKE_SOURCE_DIR}/Documentation/${m}) | ||
set(mdst ${CMAKE_SOURCE_DIR}/Documentation/man/${m}) | ||
|
||
add_custom_command( | ||
OUTPUT | ||
${mdst} | ||
COMMAND | ||
${CMAKE_SOURCE_DIR}/utils/manPages.sh ${msrc} ${mdst} ${ARANGODB_VERSION} | ||
DEPENDS | ||
${msrc} | ||
WORKING_DIRECTORY | ||
${CMAKE_BINARY_DIR} | ||
COMMENT | ||
"Building manpage ${mdst}" | ||
VERBATIM | ||
) | ||
|
||
list(APPEND MAN_FILES ${mdst}) | ||
endforeach () | ||
|
||
add_custom_command( | ||
OUTPUT | ||
${mdst} | ||
${CMAKE_SOURCE_DIR}/README | ||
COMMAND | ||
${CMAKE_SOURCE_DIR}/utils/manPages.sh ${msrc} ${mdst} ${ARANGODB_VERSION} | ||
${CMAKE_SOURCE_DIR}/utils/generateREADME.sh ${CMAKE_SOURCE_DIR}/README.md ${CMAKE_SOURCE_DIR}/README | ||
DEPENDS | ||
${msrc} | ||
${CMAKE_SOURCE_DIR}/README.md | ||
WORKING_DIRECTORY | ||
${CMAKE_BINARY_DIR} | ||
${CMAKE_SOURCE_DIR} | ||
COMMENT | ||
"Building manpage ${mdst}" | ||
"Building README" | ||
VERBATIM | ||
) | ||
|
||
list(APPEND MAN_FILES ${mdst}) | ||
endforeach () | ||
list(APPEND MAN_FILES ${CMAKE_SOURCE_DIR}/README) | ||
|
||
add_custom_target(man ALL DEPENDS ${MAN_FILES}) | ||
add_custom_target(man ALL DEPENDS ${MAN_FILES}) | ||
endif () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters