summary refs log tree commit diff stats
path: root/win32/deps/cairo/release-x86.bat
blob: 7603f88e4d37596fbf21711f69b18d5db7618c85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
:: run this from a command prompt
@echo off

SET PACKAGE_NAME=cairo-1.10.2

set CAIRO_SRC=%cd%
set CAIRO_DEST=%cd%-rel
echo.Press return when ready to install!
pause

mkdir %CAIRO_DEST%\share
mkdir %CAIRO_DEST%\share\doc
mkdir %CAIRO_DEST%\share\doc\cairo
copy COPYING %CAIRO_DEST%\share\doc\cairo

cd %CAIRO_DEST%
set PATH=%PATH%;%ProgramFiles%\7-zip
del ..\%PACKAGE_NAME%-x86.7z
7z a ..\%PACKAGE_NAME%-x86.7z *
cd %CAIRO_SRC%
rmdir /q /s %CAIRO_DEST%

echo.Finished!
pause