CMakeLists.txt
changeset 37 0477d4800fbd
parent 33 9151fef57135
child 41 cfb02882828d
equal deleted inserted replaced
36:f23b9521b4d6 37:0477d4800fbd
     1 ## Copyright 2009 Myhailo Danylenko
     1 ## Copyright 2009-2012 Myhailo Danylenko
     2 # This file is part of mcabber module writing howto examples.
     2 # This file is part of mcabber-pep
     3 #
     3 #
     4 # Examples are free software: you can redistribute it and/or modify
     4 # mcabber-pep is a free software: you can redistribute it and/or modify
     5 # it under the terms of the GNU General Public License as published by
     5 # it under the terms of the GNU General Public License as published by
     6 # the Free Software Foundation, either version 2 of the License, or
     6 # the Free Software Foundation, either version 2 of the License, or
     7 # (at your option) any later version.
     7 # (at your option) any later version.
     8 #
     8 #
     9 # This program is distributed in the hope that it will be useful,
     9 # This program is distributed in the hope that it will be useful,
   116 
   116 
   117 configure_file(pep.rc.in pep.rc @ONLY)
   117 configure_file(pep.rc.in pep.rc @ONLY)
   118 
   118 
   119 ## Installation
   119 ## Installation
   120 install(TARGETS ${MODULE_LIST} DESTINATION lib/mcabber) 
   120 install(TARGETS ${MODULE_LIST} DESTINATION lib/mcabber) 
   121 install(FILES ${PROJECT_BINARY_DIR}/pep.rc COPYING TODO README DESTINATION share/doc/${CPACK_PACKAGE_NAME})
   121 install(FILES ${PROJECT_BINARY_DIR}/pep.rc COPYING docs/todo.mdwn docs/readme.mdwn DESTINATION share/doc/${CPACK_PACKAGE_NAME})
   122 install(DIRECTORY doc/ DESTINATION share/doc/${CPACK_PACKAGE_NAME} PATTERN "*~" EXCLUDE)
   122 install(DIRECTORY docs/ DESTINATION share/doc/${CPACK_PACKAGE_NAME} PATTERN "*~" EXCLUDE)
   123 install(FILES pep.h
   123 install(FILES pep.h
   124               ${PROJECT_BINARY_DIR}/pep_mood.h
   124               ${PROJECT_BINARY_DIR}/pep_mood.h
   125 			  ${PROJECT_BINARY_DIR}/pep_tune.h
   125 			  ${PROJECT_BINARY_DIR}/pep_tune.h
   126 			  ${PROJECT_BINARY_DIR}/pep_geoloc.h
   126 			  ${PROJECT_BINARY_DIR}/pep_geoloc.h
   127 			  ${PROJECT_BINARY_DIR}/pep_activity.h DESTINATION include/mcabber)
   127 			  ${PROJECT_BINARY_DIR}/pep_activity.h DESTINATION include/mcabber)