Imported Upstream version 14.28.0
[platform/upstream/libzypp.git] / po / CMakeLists.txt
1 #
2 # Creating the .pot file to be translated.
3 #
4 ADD_CUSTOM_TARGET( zypp.pot
5         COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/createPot ${LIBZYPP_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/zypp.pot
6 )
7 SET_DIRECTORY_PROPERTIES( PROPERTIES
8         ADDITIONAL_MAKE_CLEAN_FILES zypp.pot
9 )
10
11 #
12 # Provides the 'translations' target that creates the .gmo files
13 # out of the pofiles provided by zypp-po.tar.bz2.
14 # Use USE_TRANSLATION_SET to use an alternate set provided by
15 # ${USE_TRANSLATION_SET}-po.tar.bz2
16 #
17 GETTEXT_CREATE_TARBALL_TRANSLATIONS( "zypp" )
18