2012-10-02 12:26:01 +04:00
|
|
|
:: 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
|
|
|
|
|
2012-10-03 18:31:24 +04:00
|
|
|
mkdir %CAIRO_DEST%\share
|
|
|
|
mkdir %CAIRO_DEST%\share\doc
|
|
|
|
mkdir %CAIRO_DEST%\share\doc\cairo
|
|
|
|
copy COPYING %CAIRO_DEST%\share\doc\cairo
|
2012-10-02 12:26:01 +04:00
|
|
|
|
|
|
|
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
|