- Reorganize makefile to install files in a reorganized directory

hierarchy: 
	- make room for future plugins
	- separate real plugins from their satellite helper
	data


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@484 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-03-03 21:04:42 +00:00
parent 0a6b34d6ab
commit 17678ebbe4
3 changed files with 25 additions and 31 deletions

View file

@ -71,7 +71,7 @@ PythonPolicyManager::init()
// FIXME: find better way to achieve this.
PyRun_SimpleString("import sys\n"
"sys.path[:0] = [ '" MODDIR "', '" PYCDIR "' ]\n");
"sys.path[:0] = [ '" MODDIR "', '" POLDIR "' ]\n");
// Okay, here we go.
// Black magic at work.

View file

@ -64,7 +64,7 @@ main(int argc, char* argv[])
// appropriate PluginManager class in the backend,
// and the Makefile fixed accordingly
using Glib::Module;
std::string pyloader_path = Module::build_path(MODDIR, "pyloader");
std::string pyloader_path = Module::build_path(PLUGDIR, "pyloader");
Module pyloader(pyloader_path);
std::cerr << Module::get_last_error() << std::endl;
assert(pyloader);