Commit 8506c9b4 authored by PRUVOST Florent's avatar PRUVOST Florent

PAMPA_CORE replaced by PAMPA only

parent f4e17201
Pipeline #26146 failed with stages
in 1 minute and 17 seconds
......@@ -258,9 +258,9 @@ if (NOT PTHREAD STREQUAL "None")
endif ()
# Define PaMPA version
set(PAMPA_CORE_VERSION "2")
set(PAMPA_CORE_RELEASE "0")
set(PAMPA_CORE_PATCHLEVEL "0")
set(PAMPA_VERSION "2")
set(PAMPA_RELEASE "0")
set(PAMPA_PATCHLEVEL "0")
# Add some flags
add_definitions(-Drestrict=__restrict)
......
......@@ -45,9 +45,9 @@ if (DOXYGEN_FOUND)
add_custom_target (apipdfdoc
COMMAND ${CMAKE_COMMAND} -E echo_append "Building Api Pdf Documentation..."
COMMAND make
COMMAND ${CMAKE_COMMAND} -E copy refman.pdf ../pampa_v${PAMPA_CORE_VERSION}.${PAMPA_CORE_RELEASE}.pdf
COMMAND ${CMAKE_COMMAND} -E copy refman.pdf ../pampa_v${PAMPA_VERSION}.${PAMPA_RELEASE}.pdf
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${PAMPA_SOURCE_DIR}/doc/api_${PAMPA_CORE_VERSION}.${PAMPA_CORE_RELEASE}/latex)
WORKING_DIRECTORY ${PAMPA_SOURCE_DIR}/doc/api_${PAMPA_VERSION}.${PAMPA_RELEASE}/latex)
add_dependencies (apipdfdoc apidoc)
endif (UNIX)
add_dependencies (apidoc pampa)
......@@ -79,9 +79,9 @@ if (DOXYGEN_FOUND)
add_custom_target (userpdfdoc
COMMAND ${CMAKE_COMMAND} -E echo_append "Building User Pdf Documentation..."
COMMAND make
COMMAND ${CMAKE_COMMAND} -E copy refman.pdf ../pampa_v${PAMPA_CORE_VERSION}.${PAMPA_CORE_RELEASE}.pdf
COMMAND ${CMAKE_COMMAND} -E copy refman.pdf ../pampa_v${PAMPA_VERSION}.${PAMPA_RELEASE}.pdf
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${PAMPA_SOURCE_DIR}/doc/user_${PAMPA_CORE_VERSION}.${PAMPA_CORE_RELEASE}/latex)
WORKING_DIRECTORY ${PAMPA_SOURCE_DIR}/doc/user_${PAMPA_VERSION}.${PAMPA_RELEASE}/latex)
add_dependencies (userpdfdoc userdoc)
endif (UNIX)
add_dependencies (userdoc pampa)
......@@ -90,7 +90,7 @@ if (DOXYGEN_FOUND)
add_custom_target (doc DEPENDS apidoc apipdfdoc userdoc userpdfdoc)
# Specify where man documentation will be installed
file (GLOB MAN_FILES ${PAMPA_SOURCE_DIR}/doc/user_${PAMPA_CORE_VERSION}.${PAMPA_CORE_RELEASE}/man/man3/*.3)
file (GLOB MAN_FILES ${PAMPA_SOURCE_DIR}/doc/user_${PAMPA_VERSION}.${PAMPA_RELEASE}/man/man3/*.3)
install (FILES ${MAN_FILES}
DESTINATION share/man/man3)
endif (DOXYGEN_FOUND)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment