build: Install .po files for SWAT intl support
authorAndrew Bartlett <abartlet@samba.org>
Wed, 5 Dec 2012 01:52:22 +0000 (12:52 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Dec 2012 02:28:46 +0000 (13:28 +1100)
source3/wscript_build

index 6fc0d0666e6a46ac559f8afd0c2ef36d22198dba..107587d0bc553847f9ba8f31e95362712470a386 100755 (executable)
@@ -1636,7 +1636,10 @@ bld.SAMBA3_PYTHON('pylibsmb',
 
 swat_dir = os.path.join(bld.curdir, '../swat')
 swat_files = recursive_dirlist(swat_dir, swat_dir, '*')
+swat_msg_dir = os.path.join(bld.curdir, 'po')
+swat_msg_files = recursive_dirlist(swat_msg_dir, swat_msg_dir, '*.msg')
 bld.INSTALL_FILES('${SWATDIR}', swat_files, base_name='../swat')
+bld.INSTALL_FILES('${CODEPAGEDIR}', swat_msg_files, base_name='po')
 
 ########################## INCLUDES #################################