r1468@localhost: muntyan | 2005-12-22 01:00:19 -0600

Moved mooutils-python.* into moopython/, made it pass distcheck
master
Yevgen Muntyan 2005-12-23 14:30:26 +00:00
parent 1a174a6414
commit 1a2af20723
10 changed files with 14 additions and 22 deletions

View File

@ -8,6 +8,8 @@ moopython_srcdir = $(srcdir)/$(moopython)
moopython_sources = \ moopython_sources = \
$(moopython)/moopython.c \ $(moopython)/moopython.c \
$(moopython)/moopython.h \ $(moopython)/moopython.h \
$(moopython)/moopython-utils.c \
$(moopython)/moopython-utils.h \
$(moopython)/mooplugin-python.c \ $(moopython)/mooplugin-python.c \
$(moopython)/mooplugin-python.h $(moopython)/mooplugin-python.h

View File

@ -21,8 +21,8 @@
#endif #endif
#include "moopython/mooplugin-python.h" #include "moopython/mooplugin-python.h"
#include "moopython/moopython-utils.h"
#include "mooedit/mooplugin-macro.h" #include "mooedit/mooplugin-macro.h"
#include "mooutils/mooutils-python.h"
#define PLUGIN_SUFFIX ".py" #define PLUGIN_SUFFIX ".py"

View File

@ -1,5 +1,5 @@
/* /*
* mooutils/mooutils-python.c * moopython/moopython-utils.c
* *
* Copyright (C) 2004-2005 by Yevgen Muntyan <muntyan@math.tamu.edu> * Copyright (C) 2004-2005 by Yevgen Muntyan <muntyan@math.tamu.edu>
* *
@ -15,7 +15,7 @@
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
#endif #endif
#include "mooutils/mooutils-python.h" #include "moopython/moopython-utils.h"
#include "mooutils/moocompat.h" #include "mooutils/moocompat.h"
#ifdef MOO_USE_PYGTK #ifdef MOO_USE_PYGTK
# define NO_IMPORT_PYGOBJECT # define NO_IMPORT_PYGOBJECT

View File

@ -1,5 +1,5 @@
/* /*
* mooutils/mooutils-python.h * moopython/moopython-utils.h
* *
* Copyright (C) 2004-2005 by Yevgen Muntyan <muntyan@math.tamu.edu> * Copyright (C) 2004-2005 by Yevgen Muntyan <muntyan@math.tamu.edu>
* *
@ -11,8 +11,8 @@
* See COPYING file that comes with this distribution. * See COPYING file that comes with this distribution.
*/ */
#ifndef MOOUTILS_MOOUTILS_PYTHON_H #ifndef __MOO_PYTHON_UTILS_H__
#define MOOUTILS_MOOUTILS_PYTHON_H #define __MOO_PYTHON_UTILS_H__
#include <Python.h> #include <Python.h>
#include <glib-object.h> #include <glib-object.h>
@ -71,4 +71,4 @@ G_STMT_START { \
G_END_DECLS G_END_DECLS
#endif /* MOOUTILS_MOOUTILS_PYTHON_H */ #endif /* __MOO_PYTHON_UTILS_H__ */

View File

@ -17,7 +17,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "moopython/moo-mod.h" #include "moopython/pygtk/moo-mod.h"
#include "moopython/pygtk/moo-pygtk.h" #include "moopython/pygtk/moo-pygtk.h"
#include <pygobject.h> /* _PyGObjectAPI lives here */ #include <pygobject.h> /* _PyGObjectAPI lives here */
#include <pygtk/pygtk.h> #include <pygtk/pygtk.h>

View File

@ -11,7 +11,7 @@ headers
#include "mooedit/mootextiter.h" #include "mooedit/mootextiter.h"
#include "mooedit/mooeditprefs.h" #include "mooedit/mooeditprefs.h"
#include "moopython/mooplugin-python.h" #include "moopython/mooplugin-python.h"
#include "mooutils/mooutils-python.h" #include "moopython/moopython-utils.h"
#include "moopython/pygtk/moo-pygtk.h" #include "moopython/pygtk/moo-pygtk.h"

View File

@ -10,7 +10,7 @@ headers
#include "mooterm/mooterm-text.h" #include "mooterm/mooterm-text.h"
#include "mooterm/mootermbuffer.h" #include "mooterm/mootermbuffer.h"
#include "mooterm/mooterm-prefs.h" #include "mooterm/mooterm-prefs.h"
#include "mooutils/mooutils-python.h" #include "moopython/moopython-utils.h"
#include "moopython/pygtk/moo-pygtk.h" #include "moopython/pygtk/moo-pygtk.h"

View File

@ -17,8 +17,8 @@
#include <glib.h> #include <glib.h>
#include "moopython/pygtk/moo-pygtk.h" #include "moopython/pygtk/moo-pygtk.h"
#include "moopython/pygtk/mooutils-mod.h" #include "moopython/pygtk/mooutils-mod.h"
#include "moopython/moopython-utils.h"
#include "mooutils/moostock.h" #include "mooutils/moostock.h"
#include "mooutils/mooutils-python.h"
static char *moo_utils_module_doc = (char*)"_moo_utils module."; static char *moo_utils_module_doc = (char*)"_moo_utils module.";

View File

@ -22,7 +22,7 @@ headers
#include "mooutils/moostock.h" #include "mooutils/moostock.h"
#include "mooutils/moouixml.h" #include "mooutils/moouixml.h"
#include "mooutils/moomenuaction.h" #include "mooutils/moomenuaction.h"
#include "mooutils/mooutils-python.h" #include "moopython/moopython-utils.h"
#include "moopython/pygtk/moo-pygtk.h" #include "moopython/pygtk/moo-pygtk.h"

View File

@ -36,7 +36,6 @@ mooutils_include_headers = \
$(mooutils)/mooundomanager.h \ $(mooutils)/mooundomanager.h \
$(mooutils)/mooutils-gobject.h \ $(mooutils)/mooutils-gobject.h \
$(mooutils)/mooutils-misc.h \ $(mooutils)/mooutils-misc.h \
$(mooutils)/mooutils-python.h \
$(mooutils)/moowindow.h $(mooutils)/moowindow.h
mooutils_sources = \ mooutils_sources = \
@ -87,23 +86,14 @@ mooutils_sources = \
$(mooutils)/stock-select-all-24.h \ $(mooutils)/stock-select-all-24.h \
$(mooutils)/stock-terminal-24.h $(mooutils)/stock-terminal-24.h
mooutils_python_sources = \
$(mooutils)/mooutils-python.c \
$(mooutils)/mooutils-python.h
mooutils_unix_sources = \ mooutils_unix_sources = \
$(mooutils)/moocmd.c $(mooutils)/moocmd.c
if MOO_USE_PYTHON
mooutils_sources += $(mooutils_python_sources)
endif
nodist_mooutils_sources = \ nodist_mooutils_sources = \
$(mooutils)/moomarshals.c \ $(mooutils)/moomarshals.c \
$(mooutils)/moomarshals.h $(mooutils)/moomarshals.h
mooutils_extra_dist = \ mooutils_extra_dist = \
$(mooutils_python_sources) \
$(mooutils)/moomarshals.list \ $(mooutils)/moomarshals.list \
$(mooutils)/py2h.sh \ $(mooutils)/py2h.sh \
$(mooutils)/xml2h.sh $(mooutils)/xml2h.sh