summary refs log tree commit diff stats
path: root/win32/deps/cairo/release-x64.bat
blob: 10be2c03aa05421a0fff4ad3bdcab06c727dbf18 (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%-x64.7z
7z a ..\%PACKAGE_NAME%-x64.7z *
cd %CAIRO_SRC%
rmdir /q /s %CAIRO_DEST%

echo.Finished!
pause
iv>