gnucash/po/make-gnucash-pot.sh.in
Geert Janssens 7650d76582 Fix gnucash.pot generation from cmake build.
intltool-update should be run from the build directory, not the source directory.
If run from the source directory it will omit glade messages that have a context attribute
so all msgids with a msgctxt comment would be missing.
2017-10-03 22:56:35 +02:00

8 lines
225 B
Bash

#!/bin/sh
INTLTOOL_EXTRACT=@INTLTOOL_EXTRACT@
XGETTEXT=@XGETTEXT@
INTLTOOL_UPDATE=@INTLTOOL_UPDATE@
SOURCE_DIR=@CMAKE_CURRENT_SOURCE_DIR@
PACKAGE=@PACKAGE@
srcdir=$SOURCE_DIR $INTLTOOL_UPDATE --gettext-package $PACKAGE --pot