File: package.cmd

package info (click to toggle)
grisbi 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 15,180 kB
  • ctags: 7,111
  • sloc: ansic: 114,821; sh: 11,374; makefile: 1,102; perl: 370; yacc: 291
file content (24 lines) | stat: -rw-r--r-- 698 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
set DIR=target\zip
mkdir %DIR%

xcopy /Y target\Release\*.dll %DIR%
xcopy /Y target\Release\*.exe %DIR%
xcopy /S /Y target\Release\etc %DIR%\etc\
xcopy /S /Y target\Release\lib %DIR%\lib\

xcopy /S /Y ..\help %DIR%\help\
call tools\dos2unix.cmd ..\help\tips\tips.txt %DIR%\help\tips\tips.txt
rmdir /S /Q %DIR%\help\cvs
for %%f in (c de en fr tips) do rmdir /S /Q %DIR%\help\%%f\cvs

xcopy /S /Y ..\pixmaps\*.png %DIR%\pixmaps\

for %%f in (CS DA DE EL EO ES FA FR HE IT NL PL PT_BR RO RU ZH_CN) do (
	mkdir target\zip\lib\locale\%%f\LC_MESSAGES
	target\gtk-dev\bin\msgfmt.exe ..\po\%%f.po --output-file=target\zip\lib\locale\%%f\LC_MESSAGES\grisbi.mo
)

cd %DIR%
zip -r ..\grisbi *
pause