glib/gio/gdbus-2.0/codegen/Makefile.am
Dieter Verfaillie 0eaec4e59a 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
2011-08-25 16:55:46 -04:00

31 lines
583 B
Makefile

NULL =
bin_SCRIPTS =
CLEANFILES =
EXTRA_DIST =
codegendir = $(libdir)/gdbus-2.0/codegen
codegen_PYTHON = \
__init__.py \
codegen.py \
codegen_main.py \
codegen_docbook.py \
config.py \
dbustypes.py \
parser.py \
utils.py \
$(NULL)
CLEANFILES += config.pyc
bin_SCRIPTS += gdbus-codegen
CLEANFILES += gdbus-codegen
EXTRA_DIST += gdbus-codegen.in
gdbus-codegen: gdbus-codegen.in Makefile
$(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' -e 's,@PYTHON\@,$(PYTHON),' $< > $@.tmp && mv $@.tmp $@
@chmod a+x $@
clean-local:
rm -f *~