fix(build): clean-olean target should also clean HoTT library

This commit is contained in:
Leonardo de Moura 2014-12-05 14:42:37 -08:00
parent 0034ad9b34
commit d52fc83274

View file

@ -381,11 +381,19 @@ else()
)
endif()
add_custom_target(clean-olean
add_custom_target(clean-std-lib
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_MODULE_PATH}CleanOlean.cmake
)
add_custom_target(clean-hott-lib
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../hott
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_MODULE_PATH}CleanOlean.cmake
)
add_custom_target(clean-olean
DEPENDS clean-std-lib clean-hott-lib)
install(FILES ${CMAKE_SOURCE_DIR}/../bin/linja ${CMAKE_SOURCE_DIR}/../bin/ltags
DESTINATION bin
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)