Changed installation prefix

master
Yevgen Muntyan 2007-04-06 10:57:55 -05:00
parent 4692ac37a5
commit 96333cd1bf
1 changed files with 12 additions and 12 deletions

24
makewin
View File

@ -91,32 +91,32 @@ def copy_files():
do_cmd("cp -r %s/* %s/" % (d, moo_windir))
do_cmd("mkdir -p %s/bin" % (moo_windir,))
do_cmd("cp -r %s/usr/local/bin/libmoo.dll %s/bin/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/win/gtk/bin/libmoo.dll %s/bin/" % (installdir, moo_windir))
if not pida:
do_cmd("cp -r %s/usr/local/bin/medit.exe %s/bin/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/win/gtk/bin/medit.exe %s/bin/" % (installdir, moo_windir))
if not bin_only:
do_cmd("mkdir -p %s/share/mime" % (moo_windir,))
do_cmd("mkdir -p %s/lib/moo" % (moo_windir,))
do_cmd("cp -r %s/usr/local/share/moo %s/share/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/lib/locale %s/lib/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/share/mime/mime.cache %s/share/mime/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/win/gtk/share/moo %s/share/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/win/gtk/lib/locale %s/lib/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/win/gtk/share/mime/mime.cache %s/share/mime/" % (installdir, moo_windir))
if not no_python:
do_cmd("cp -r %s/usr/local/lib/moo/plugins %s/lib/moo/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/lib/moo/projects %s/lib/moo/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/win/gtk/lib/moo/plugins %s/lib/moo/" % (installdir, moo_windir))
do_cmd("cp -r %s/usr/local/win/gtk/lib/moo/projects %s/lib/moo/" % (installdir, moo_windir))
if pida:
do_cmd("mkdir -p %s/lib/site-packages" % (moo_windir,))
do_cmd("cp %s/usr/local/lib/moo25.pyd %s/lib/site-packages/moo.pyd" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/win/gtk/lib/moo25.pyd %s/lib/site-packages/moo.pyd" % (installdir, moo_windir))
else:
do_cmd("mkdir -p %s/lib/moo/plugins/pymoo25 %s/lib/moo/plugins/pymoo24" % (moo_windir, moo_windir))
do_cmd("cp %s/usr/local/lib/pymoo25.dll %s/lib/moo/plugins/pymoo25/pymoo.dll" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/lib/moo25.pyd %s/lib/moo/plugins/pymoo25/moo.pyd" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/lib/pymoo24.dll %s/lib/moo/plugins/pymoo24/pymoo.dll" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/lib/moo24.pyd %s/lib/moo/plugins/pymoo24/moo.pyd" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/win/gtk/lib/pymoo25.dll %s/lib/moo/plugins/pymoo25/pymoo.dll" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/win/gtk/lib/moo25.pyd %s/lib/moo/plugins/pymoo25/moo.pyd" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/win/gtk/lib/pymoo24.dll %s/lib/moo/plugins/pymoo24/pymoo.dll" % (installdir, moo_windir))
do_cmd("cp %s/usr/local/win/gtk/lib/moo24.pyd %s/lib/moo/plugins/pymoo24/moo.pyd" % (installdir, moo_windir))
if do_strip:
if not bin_only and not no_python: