fixed win32-packaging

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1340 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-07-18 21:09:16 +00:00
parent 8730d2af17
commit 51ac2a2d9b

View File

@@ -25,13 +25,12 @@ win32-pkg: all
mkdir -p tmp/lmms/plugins/ladspa/
cp lmms.exe tmp/lmms
find plugins/ -name "*.dll" -maxdepth 2 -exec cp '{}' tmp/lmms/plugins/ ';'
rm tmp/lmms/plugins/caps.dll
rm tmp/lmms/plugins/tap*.dll
rm -f tmp/lmms/plugins/caps.dll tmp/lmms/plugins/tap*.dll
cp plugins/ladspa_effect/caps/caps.dll tmp/lmms/plugins/ladspa/
cp plugins/ladspa_effect/tap/tap*.dll tmp/lmms/plugins/ladspa/
PWD=`pwd`
cd data && make DESTDIR=$(PWD)/tmp/lmms/ install
mv tmp/lmms/opt/mingw/share/lmms/* tmp/lmms/data/ && rm -rf tmp/lmms/opt
if [ -d tmp/lmms/opt/mingw ] ; then mv tmp/lmms/opt/mingw/share/lmms/* tmp/lmms/data/ && rm -rf tmp/lmms/opt ; else mv tmp/lmms/usr/share/lmms/* tmp/lmms/data/ && rm -rf tmp/lmms/usr ; fi
cp /opt/mingw/bin/QtCore4.dll tmp/lmms
cp /opt/mingw/bin/QtGui4.dll tmp/lmms
cp /opt/mingw/bin/QtXml4.dll tmp/lmms