Avoid using - (hyphen) in gdbus-codegen directory name

It's an invalid character in Python module names and prevents us from
being able to import it.

https://bugzilla.gnome.org/show_bug.cgi?id=650763
This commit is contained in:
Dieter Verfaillie 2011-08-23 07:32:18 +02:00 committed by Colin Walters
parent 33831bda24
commit 0eaec4e59a
13 changed files with 5 additions and 5 deletions

View File

@ -3841,8 +3841,8 @@ gobject/tests/Makefile
gthread/Makefile gthread/Makefile
gthread/tests/Makefile gthread/tests/Makefile
gio/Makefile gio/Makefile
gio/gdbus-codegen/Makefile gio/gdbus-2.0/codegen/Makefile
gio/gdbus-codegen/config.py gio/gdbus-2.0/codegen/config.py
gio/xdgmime/Makefile gio/xdgmime/Makefile
gio/inotify/Makefile gio/inotify/Makefile
gio/libasyncns/Makefile gio/libasyncns/Makefile

View File

@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.decl
NULL = NULL =
SUBDIRS = gdbus-codegen SUBDIRS = gdbus-2.0/codegen
if OS_UNIX if OS_UNIX
SUBDIRS += libasyncns xdgmime SUBDIRS += libasyncns xdgmime

View File

@ -4,7 +4,7 @@ bin_SCRIPTS =
CLEANFILES = CLEANFILES =
EXTRA_DIST = EXTRA_DIST =
codegendir = $(libdir)/gdbus-codegen codegendir = $(libdir)/gdbus-2.0/codegen
codegen_PYTHON = \ codegen_PYTHON = \
__init__.py \ __init__.py \
codegen.py \ codegen.py \

View File

@ -25,7 +25,7 @@
import os import os
import sys import sys
path = os.path.join('@libdir@', 'gdbus-codegen') path = os.path.join('@libdir@', 'gdbus-2.0', 'codegen')
sys.path.insert(0, path) sys.path.insert(0, path)
from codegen_main import codegen_main from codegen_main import codegen_main