Include gettext MO files in distribution archives.
It's the usual thing to do. Ideally, we'd also compile them as part of build process, at least on Unix, but this is better than nothing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -174,6 +174,10 @@ for afile in fileList:
|
|||||||
mswSetup0 = os.path.join(wxCopyDir, "include","wx","msw","setup0.h")
|
mswSetup0 = os.path.join(wxCopyDir, "include","wx","msw","setup0.h")
|
||||||
shutil.copy(mswSetup0, mswSetup0.replace("setup0.h", "setup.h")),
|
shutil.copy(mswSetup0, mswSetup0.replace("setup0.h", "setup.h")),
|
||||||
|
|
||||||
|
# compile gettext catalogs
|
||||||
|
print "Compiling gettext catalogs..."
|
||||||
|
os.system("make -C %s/locale allmo" % wxCopyDir)
|
||||||
|
|
||||||
all = options.compression == "all"
|
all = options.compression == "all"
|
||||||
|
|
||||||
# make sure they have the DOS line endings everywhere
|
# make sure they have the DOS line endings everywhere
|
||||||
|
@@ -54,6 +54,9 @@ find $prefix/include/wx -type f -name setup0.h | while read f; do
|
|||||||
mv $f ${f%0.h}.h
|
mv $f ${f%0.h}.h
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Compile gettext catalogs.
|
||||||
|
make -C $prefix/locale allmo
|
||||||
|
|
||||||
tar cjf $prefix.tar.bz2 $prefix
|
tar cjf $prefix.tar.bz2 $prefix
|
||||||
|
|
||||||
cd $prefix
|
cd $prefix
|
||||||
|
Reference in New Issue
Block a user