moopython/pygtk/moo.defs should be generated on user's machine

This commit is contained in:
Yevgen Muntyan 2011-04-16 23:21:10 -07:00
parent 0b40bf4b9e
commit 50bb2d9a19

View File

@ -31,16 +31,12 @@ if MOO_OS_WIN32
codegen_platform = --platform win32
endif
if MOO_DEV_MODE
built_moo_python_sources += moopython/pygtk/moo.defs
moopython/pygtk/moo.defs: $(gendefs_files) $(top_srcdir)/api/moo.xml Makefile
$(AM_V_at)$(MKDIR_P) moopython/pygtk
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/api/gendefs.py $(top_srcdir)/api/moo.xml > moopython/pygtk/moo.defs.tmp
$(AM_V_at)mv moopython/pygtk/moo.defs.tmp moopython/pygtk/moo.defs
endif
codegen_files = \
$(srcdir)/moopython/codegen/codegen.py \
$(srcdir)/moopython/codegen/argtypes.py \