mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
cmake: fix Documentation build and install
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ec0de54450
commit
eecf40c121
1 changed files with 7 additions and 4 deletions
|
@ -323,16 +323,19 @@ test(TestProfile testprofile.cpp)
|
||||||
test(TestGpsCoords testgpscoords.cpp)
|
test(TestGpsCoords testgpscoords.cpp)
|
||||||
test(TestParse testparse.cpp)
|
test(TestParse testparse.cpp)
|
||||||
|
|
||||||
|
ADD_CUSTOM_TARGET(documentation ALL mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ \\; make -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc)
|
||||||
|
|
||||||
# install Subsurface
|
# install Subsurface
|
||||||
# first some variables with files that need installing
|
# first some variables with files that need installing
|
||||||
|
|
||||||
set(DOCFILES
|
set(DOCFILES
|
||||||
README
|
README
|
||||||
ReleaseNotes/ReleaseNotes.txt
|
ReleaseNotes/ReleaseNotes.txt
|
||||||
SupportedDivecomputers.txt Documentation/user-manual.html
|
SupportedDivecomputers.txt
|
||||||
Documentation/user-manual_es.html
|
${CMAKE_BINARY_DIR}/Documentation/user-manual.html
|
||||||
Documentation/user-manual_fr.html
|
${CMAKE_BINARY_DIR}/Documentation/user-manual_es.html
|
||||||
Documentation/user-manual_ru.html
|
${CMAKE_BINARY_DIR}/Documentation/user-manual_fr.html
|
||||||
|
${CMAKE_BINARY_DIR}/Documentation/user-manual_ru.html
|
||||||
)
|
)
|
||||||
|
|
||||||
set(TRANSLATION_SRC
|
set(TRANSLATION_SRC
|
||||||
|
|
Loading…
Reference in a new issue