[vlmc-devel] commit: cmake: install vlmc.png in the pixmaps/ directory instead of share/ (Ludovic Fauvet )
git at videolan.org
git at videolan.org
Fri Apr 9 18:23:32 CEST 2010
vlmc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Fri Apr 9 18:20:20 2010 +0200| [4635b6dec0d9b5909cec27085cb42a70f91924aa] | committer: Ludovic Fauvet
cmake: install vlmc.png in the pixmaps/ directory instead of share/
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=4635b6dec0d9b5909cec27085cb42a70f91924aa
---
CMakeLists.txt | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fa96aa..7603e53 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,6 +107,7 @@ SET (VLMC_DATA_DIR ${CMAKE_INSTALL_PREFIX}/${VLMC_DATA_SUBDIR}/vlmc/)
SET (VLMC_DOC_DIR ${CMAKE_INSTALL_PREFIX}/${VLMC_DATA_SUBDIR}/doc/vlmc/)
SET (VLMC_EFFECTS_DIR ${CMAKE_INSTALL_PREFIX}/${VLMC_LIB_SUBDIR}/vlmc/effects/)
SET (VLMC_DESKTOP_DIR ${CMAKE_INSTALL_PREFIX}/${VLMC_DATA_SUBDIR}/applications/)
+SET (VLMC_PIXMAPS_DIR ${CMAKE_INSTALL_PREFIX}/${VLMC_DATA_SUBDIR}/pixmaps/)
# manual page - makes sense only on unix systems
IF (UNIX)
@@ -127,10 +128,14 @@ INSTALL (FILES AUTHORS COPYING INSTALL NEWS README TRANSLATORS
# Copy .desktop file
INSTALL (FILES share/vlmc.desktop DESTINATION ${VLMC_DESKTOP_DIR})
+# Copy the VLMC pixmap
+INSTALL (FILES share/vlmc.png DESTINATION ${VLMC_PIXMAPS_DIR})
+
# Copy the share directory
INSTALL (DIRECTORY share/ DESTINATION ${VLMC_DATA_DIR}
PATTERN "*.desktop" EXCLUDE
- PATTERN "*.ico" EXCLUDE)
+ PATTERN "*.ico" EXCLUDE
+ PATTERN "vlmc.png" EXCLUDE)
#############################################################
# Enable packaging
More information about the Vlmc-devel
mailing list