# Copyright (C) 2007-2009 LuaDist. # Created by Peter Drahoš # Redistribution and use of this file is allowed according to the terms of the MIT license. # For details see the COPYRIGHT file distributed with LuaDist. # Please note that the package source code is licensed under its own license. PROJECT (kepler NONE) CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # Where to install parts: SET (INSTALL_LMOD share/lua/lmod CACHE PATH "Directory to install Lua modules.") SET (INSTALL_DATA . CACHE PATH "Directory the package can store documentation, tests or other data in.") # Kepler Config CONFIGURE_FILE (kepler_init.lua.in ${CMAKE_CURRENT_BINARY_DIR}/in/kepler_init.lua @ONLY) INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR}/in/kepler_init.lua DESTINATION ${INSTALL_LMOD}) # Install Kepler App files INSTALL (DIRECTORY web css conf DESTINATION ${INSTALL_DATA}) INSTALL (DIRECTORY doc DESTINATION ${INSTALL_DATA}/web/) INSTALL (FILES src/cgilua.cgi src/op.cgi DESTINATION ${INSTALL_DATA}/cgi/ )