aboutsummaryrefslogtreecommitdiff
path: root/src/cmake_config_githash.h.in
blob: c72960c9f813b3dcc962baf91f47c47187ead0b9 (plain)
1
2
3
4
5
6
7
8
9
10
// Filled in by the build system
// Separated from cmake_config.h to avoid excessive rebuilds on every commit

#ifndef CMAKE_CONFIG_GITHASH_H
#define CMAKE_CONFIG_GITHASH_H

#define VERSION_GITHASH "@VERSION_GITHASH@"

#endif

an class="hl kwb">cd "$(dirname "${BASH_SOURCE[0]}")/.."; # Extract translatable strings. xgettext --from-code=UTF-8 \ --language=Lua \ --sort-by-file \ --keyword=S \ --keyword=NS:1,2 \ --keyword=N_ \ --keyword=F \ --add-comments='Translators:' \ --add-location=file \ -o locale/template.pot \ $(find . -name '*.lua') # Update translations. find locale -name '*.po' | while read -r file; do echo $file msgmerge --update $file locale/template.pot; done