Skip to content

Commit d483d22

Browse files
author
jef
committed
separate grass plugin package for osgeo4w
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14065 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9f8f092 commit d483d22

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

ms-windows/osgeo4w/package.cmd

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,32 @@ touch exclude
144144

145145
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 ^
146146
--exclude-from exclude ^
147+
--exclude "apps/%PACKAGENAME%/themes/classic/grass" ^
148+
--exclude "apps/%PACKAGENAME%/themes/default/grass" ^
149+
--exclude "apps/%PACKAGENAME%/themes/qgis/grass" ^
150+
--exclude "apps/%PACKAGENAME%/grass" ^
151+
--exclude "apps/%PACKAGENAME%/bin/qgisgrass.dll" ^
152+
--exclude "apps/%PACKAGENAME%/plugins/grassrasterprovider.dll" ^
153+
--exclude "apps/%PACKAGENAME%/plugins/grassplugin.dll" ^
154+
--exclude "apps/%PACKAGENAME%/plugins/grassprovider.dll" ^
147155
apps/%PACKAGENAME% ^
148156
bin/%PACKAGENAME%.bat.tmpl ^
149157
etc/postinstall/%PACKAGENAME%.bat ^
150-
etc/preremove/%PACKAGENAME%.bat>>%LOG% 2>&1
158+
etc/preremove/%PACKAGENAME%.bat ^
159+
>>%LOG% 2>&1
160+
if errorlevel 1 goto error
161+
162+
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-grass-%VERSION%-%PACKAGE%.tar.bz2 ^
163+
--exclude-from exclude ^
164+
"apps/%PACKAGENAME%/themes/classic/grass" ^
165+
"apps/%PACKAGENAME%/themes/default/grass" ^
166+
"apps/%PACKAGENAME%/themes/gis/grass" ^
167+
"apps/%PACKAGENAME%/grass" ^
168+
"apps/%PACKAGENAME%/bin/qgisgrass.dll" ^
169+
"apps/%PACKAGENAME%/plugins/grassrasterprovider.dll" ^
170+
"apps/%PACKAGENAME%/plugins/grassplugin.dll" ^
171+
"apps/%PACKAGENAME%/plugins/grassprovider.dll" ^
172+
>>%LOG% 2>&1
151173
if errorlevel 1 goto error
152174

153175
goto end
@@ -156,6 +178,7 @@ goto end
156178
echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME%
157179
echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME%>>%LOG% 2>&1
158180
if exist %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 del %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2
181+
if exist %PACKAGENAME%-grass-plugin-%VERSION%-%PACKAGE%.tar.bz2 del %PACKAGENAME%-grass-plugin-%VERSION%-%PACKAGE%.tar.bz2
159182

160183
:end
161184
echo FINISHED: %DATE% %TIME% >>%LOG% 2>&1

0 commit comments

Comments
 (0)