#! /bin/sh # Copyright 2011-2019 Free Software Foundation, Inc. # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # Originally written by Patrice Dumas. dir=`echo $0 | sed 's,/[^/]*$,,'` outfile=$1 ( cd "$dir/.." || exit 1 if test -f ../po_document/LINGUAS; then :; else echo "$0: no ../po_document/LINGUAS, goodbye" 1>&2 exit 1 fi basefile=`basename $outfile` cat >$outfile <>$outfile dependencies="$dependencies "'LocaleData/'"$lingua"'/LC_MESSAGES/$(document_domain).mo' done echo 'document_strings_mo_files = '"$dependencies" >>$outfile )