1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-11 09:03:36 +02:00

I missed a few WXWIN variables as pointed out by Rob (RPM)

This commit is contained in:
lllucius
2014-10-17 17:58:27 +00:00
parent 043d776bd1
commit 0f1d1ad6f9
3 changed files with 16 additions and 16 deletions

View File

@@ -77,48 +77,48 @@
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PostBuildEvent>
<Command>for %25%25I in ("%25WXWIN%25\locale\*.po") do call :fmt %25%25~nI
<Command>for %%I in ("%WXWIN%\locale\*.po") do call :fmt %%~nI
goto :EOF
:fmt
if not exist "$(OutDir)Languages\%251" mkdir "$(OutDir)Languages\%251"
msgfmt -o "$(OutDir)Languages\%251\wxstd.mo" "%25WXWIN%25\locale\%251.po"
if not exist "$(OutDir)Languages\%1" mkdir "$(OutDir)Languages\%1"
msgfmt -o "$(OutDir)Languages\%1\wxstd.mo" "%WXWIN%\locale\%1.po"
goto :EOF
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='wx3-Release|Win32'">
<PostBuildEvent>
<Command>for %25%25I in ("%25WXWIN%25\locale\*.po") do call :fmt %25%25~nI
<Command>for %%I in ("%WXWIN3%\locale\*.po") do call :fmt %%~nI
goto :EOF
:fmt
if not exist "$(OutDir)Languages\%251" mkdir "$(OutDir)Languages\%251"
msgfmt -o "$(OutDir)Languages\%251\wxstd.mo" "%25WXWIN%25\locale\%251.po"
if not exist "$(OutDir)Languages\%1" mkdir "$(OutDir)Languages\%1"
msgfmt -o "$(OutDir)Languages\%1\wxstd.mo" "%WXWIN3%\locale\%1.po"
goto :EOF
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PostBuildEvent>
<Command>for %25%25I in ("%25WXWIN%25\locale\*.po") do call :fmt %25%25~nI
<Command>for %%I in ("%WXWIN%\locale\*.po") do call :fmt %%~nI
goto :EOF
:fmt
if not exist "$(OutDir)Languages\%251" mkdir "$(OutDir)Languages\%251"
msgfmt -o "$(OutDir)Languages\%251\wxstd.mo" "%25WXWIN%25\locale\%251.po"
if not exist "$(OutDir)Languages\%1" mkdir "$(OutDir)Languages\%1"
msgfmt -o "$(OutDir)Languages\%1\wxstd.mo" "%WXWIN%\locale\%1.po"
goto :EOF
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='wx3-Debug|Win32'">
<PostBuildEvent>
<Command>for %25%25I in ("%25WXWIN%25\locale\*.po") do call :fmt %25%25~nI
<Command>for %%I in ("%WXWIN3%\locale\*.po") do call :fmt %%~nI
goto :EOF
:fmt
if not exist "$(OutDir)Languages\%251" mkdir "$(OutDir)Languages\%251"
msgfmt -o "$(OutDir)Languages\%251\wxstd.mo" "%25WXWIN%25\locale\%251.po"
if not exist "$(OutDir)Languages\%1" mkdir "$(OutDir)Languages\%1"
msgfmt -o "$(OutDir)Languages\%1\wxstd.mo" "%WXWIN3%\locale\%1.po"
goto :EOF
</Command>
</PostBuildEvent>