CMakeLists.txt   CMakeLists.txt 
########### install files ############### ########### install files ###############
INSTALL(FILES ssystem.ini ssystem_1000comets.ini base_locations.bin.gz Deja
VuSans.ttf default_config.ini DejaVuSansMono.ttf iso639-1.utf8 iso3166-1-al
pha-2.utf8 countryCodes.dat constellations_boundaries.dat DESTINATION share
/${PACKAGE}/data)
########### splash target ##############
ADD_CUSTOM_TARGET(splash ALL)
SET(_splashFile splash.png)
SET(_splashDstFile ${CMAKE_CURRENT_BINARY_DIR}/${_splashFile})
IF(NOT STELLARIUM_RELEASE_BUILD)
GET_FILENAME_COMPONENT(_splashSrcFile splash-gray.png ABSOLUTE)
ELSE()
GET_FILENAME_COMPONENT(_splashSrcFile splash.png ABSOLUTE)
ENDIF()
ADD_CUSTOM_COMMAND(
TARGET splash
COMMAND ${CMAKE_COMMAND} -E copy ${_splashSrcFile} ${_splashDstFile}
)
########### icon target ###############
ADD_CUSTOM_TARGET(icon ALL)
IF(MACOSX)
SET(_iconFile Icon.icns)
IF(NOT STELLARIUM_RELEASE_BUILD)
GET_FILENAME_COMPONENT(_iconSrcFile IconGray.icns ABSOLUTE)
ELSE()
GET_FILENAME_COMPONENT(_iconSrcFile Icon.icns ABSOLUTE)
ENDIF()
ELSE()
SET(_iconFile stellarium.ico)
IF(NOT STELLARIUM_RELEASE_BUILD)
GET_FILENAME_COMPONENT(_iconSrcFile stellarium-gray.ico ABSO
LUTE)
ELSE()
GET_FILENAME_COMPONENT(_iconSrcFile stellarium.ico ABSOLUTE)
ENDIF()
ENDIF()
INSTALL(FILES stellarium.ico ssystem.ini ssystem_1000comets.ini base_locati SET(_iconDstFile ${CMAKE_CURRENT_BINARY_DIR}/${_iconFile})
ons.bin.gz DejaVuSans.ttf default_config.ini DejaVuSansMono.ttf iso639-1.ut ADD_CUSTOM_COMMAND(
f8 iso3166-1-alpha-2.utf8 countryCodes.dat constellations_boundaries.dat DE TARGET icon
STINATION share/${PACKAGE}/data) COMMAND ${CMAKE_COMMAND} -E copy ${_iconSrcFile} ${_iconDstFile}
)
# install splash and icon
IF(MACOSX)
INSTALL(FILES ${_iconDstFile} DESTINATION share RENAME ${_iconFile})
INSTALL(FILES ${_splashDstFile} DESTINATION share/data RENAME ${_spl
ashFile})
INSTALL(FILES Info.plist PkgInfo DESTINATION .)
ELSE()
INSTALL(FILES ${_iconDstFile} DESTINATION share/${PACKAGE}/data RENA
ME ${_iconFile})
INSTALL(FILES ${_splashDstFile} DESTINATION share/${PACKAGE}/data RE
NAME ${_splashFile})
ENDIF()
# install Scenery3d shaders # install Scenery3d shaders
IF(USE_PLUGIN_SCENERY3D)
INSTALL(DIRECTORY shaders/ DESTINATION share/${PACKAGE}/data/shaders FILES_ MATCHING INSTALL(DIRECTORY shaders/ DESTINATION share/${PACKAGE}/data/shaders FILES_ MATCHING
PATTERN "s3d_*.vert" PATTERN "s3d_*.geom" PATTERN "s3d_*.frag") PATTERN "s3d_*.vert"
PATTERN "s3d_*.geom"
# install Scenery3D docs for Windows PATTERN "s3d_*.frag")
IF(WIN32) ENDIF()
INSTALL(FILES ../plugins/Scenery3d/doc/Scenery3d.pdf DESTINATION sha
re/${PACKAGE}/data)
ENDIF(WIN32)
IF (BUILD_FOR_MAEMO) IF (BUILD_FOR_MAEMO)
INSTALL(FILES maemo/stellarium.desktop DESTINATION /usr/share/applic ations/hildon) INSTALL(FILES maemo/stellarium.desktop DESTINATION /usr/share/applic ations/hildon)
INSTALL(FILES maemo/stellarium.png DESTINATION /usr/share/icons/hico lor/48x48/apps) INSTALL(FILES maemo/stellarium.png DESTINATION /usr/share/icons/hico lor/48x48/apps)
ENDIF() ENDIF()
IF(UNIX AND NOT APPLE) IF(UNIX AND NOT APPLE)
INSTALL(FILES stellarium.desktop DESTINATION share/applications) INSTALL(FILES stellarium.desktop DESTINATION share/applications)
INSTALL(FILES stellarium.xpm DESTINATION share/pixmaps) INSTALL(FILES stellarium.xpm DESTINATION share/pixmaps)
INSTALL(FILES stellarium.appdata.xml DESTINATION share/appdata) INSTALL(FILES stellarium.appdata.xml DESTINATION share/appdata)
INSTALL(FILES icons/16x16/stellarium.png DESTINATION share/icons/hic olor/16x16/apps) INSTALL(FILES icons/16x16/stellarium.png DESTINATION share/icons/hic olor/16x16/apps)
INSTALL(FILES icons/32x32/stellarium.png DESTINATION share/icons/hic olor/32x32/apps) INSTALL(FILES icons/32x32/stellarium.png DESTINATION share/icons/hic olor/32x32/apps)
INSTALL(FILES icons/48x48/stellarium.png DESTINATION share/icons/hic olor/48x48/apps) INSTALL(FILES icons/48x48/stellarium.png DESTINATION share/icons/hic olor/48x48/apps)
INSTALL(FILES icons/64x64/stellarium.png DESTINATION share/icons/hic olor/64x64/apps) INSTALL(FILES icons/64x64/stellarium.png DESTINATION share/icons/hic olor/64x64/apps)
INSTALL(FILES icons/128x128/stellarium.png DESTINATION share/icons/h icolor/128x128/apps) INSTALL(FILES icons/128x128/stellarium.png DESTINATION share/icons/h icolor/128x128/apps)
INSTALL(FILES icons/256x256/stellarium.png DESTINATION share/icons/h icolor/256x256/apps) INSTALL(FILES icons/256x256/stellarium.png DESTINATION share/icons/h icolor/256x256/apps)
INSTALL(FILES icons/512x512/stellarium.png DESTINATION share/icons/h icolor/512x512/apps) INSTALL(FILES icons/512x512/stellarium.png DESTINATION share/icons/h icolor/512x512/apps)
ENDIF() ENDIF()
IF(MACOSX)
INSTALL(FILES Icon.icns DESTINATION share )
INSTALL(FILES Info.plist PkgInfo DESTINATION . )
ENDIF(MACOSX)
 End of changes. 6 change blocks. 
11 lines changed or deleted 63 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/