Sha256: ac2a857c29c97261d28fb3863e3ced354ed5d5621b962659af02ea5d0b7162bb
Contents?: true
Size: 648 Bytes
Versions: 16
Compression:
Stored size: 648 Bytes
Contents
# Normalizes a pot file generated by xgettext, so we can compare new files # to see if they've changed. Normalization removes creation date, and sets # the charset to UTF-8. # # Usage: # cmake -DPOT_FILE=<pot_file_name> \ # -DSOURCE_DIR=<CMAKE_CURRENT_SOURCE_DIR> \ # -P normalize_pot.cmake file(READ ${POT_FILE} FILE_CONTENT) string(REPLACE "charset=CHARSET" "charset=UTF-8" FILE_CONTENT "${FILE_CONTENT}") string(REGEX REPLACE "POT-Creation-Date: [^\\]*" "POT-Creation-Date: " FILE_CONTENT "${FILE_CONTENT}") string(REPLACE "${SOURCE_DIR}/" "" FILE_CONTENT "${FILE_CONTENT}") file(WRITE ${POT_FILE} "${FILE_CONTENT}")
Version data entries
16 entries across 16 versions & 2 rubygems