Shell script to launch medit.exe in wine

This commit is contained in:
Yevgen Muntyan 2006-03-16 13:32:05 -06:00
parent e4215ac14c
commit 32cce3dcd0
3 changed files with 17 additions and 7 deletions

View File

@ -33,7 +33,7 @@
<kdevautoproject>
<general>
<activetarget>moo/libmoo.la</activetarget>
<useconfiguration>debug</useconfiguration>
<useconfiguration>mingw</useconfiguration>
</general>
<run>
<mainprogram>./medit</mainprogram>
@ -268,16 +268,16 @@
</kdevdoctreeview>
<kdevfilecreate>
<filetypes>
<type icon="source" ext="g" create="template" name="GAP source" >
<type icon="source" ext="g" name="GAP source" create="template" >
<descr>A new empty GAP source file</descr>
</type>
<type icon="source_cpp" ext="cpp" create="template" name="C++ Source" >
<type icon="source_cpp" ext="cpp" name="C++ Source" create="template" >
<descr>A new empty C++ file.</descr>
</type>
<type icon="source_h" ext="h" create="template" name="C/C++ Header" >
<type icon="source_h" ext="h" name="C/C++ Header" create="template" >
<descr>A new empty header file for C/C++.</descr>
</type>
<type icon="source_c" ext="c" create="template" name="C Source" >
<type icon="source_c" ext="c" name="C Source" create="template" >
<descr>A new empty C file.</descr>
</type>
</filetypes>

View File

@ -5,7 +5,8 @@ bin_PROGRAMS =
EXTRA_DIST += \
tests/pyapp.py.in \
tests/medit-ui.xml \
tests/medit-app.opag
tests/medit-app.opag\
tests/medit.win
BUILT_SOURCES += medit-ui.h tests/medit-app.c
medit-ui.h: tests/medit-ui.xml
@ -13,7 +14,14 @@ medit-ui.h: tests/medit-ui.xml
tests/medit-app.c: tests/medit-app.opag medit-ui.h
opag -f _medit_parse_options -O _medit_opt_ -A _medit_arg_ $(srcdir)/tests/medit-app.opag $(srcdir)/tests/medit-app.c
all-am: tests/pyapp.py
if MOO_OS_MINGW
MEDIT_WIN = medit
medit: tests/medit.win
cp $(srcdir)/tests/medit.win medit
chmod +x medit
endif
all-am: tests/pyapp.py $(MEDIT_WIN)
if MOO_BUILD_APP
medit = medit

2
tests/medit.win Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec wine medit.exe $*